Package org.xwiki.rest.url
Interface ParametrizedRestURLGenerator<T>
-
- Type Parameters:
T
- the type of the resource for which the URL are created for.
@Role public interface ParametrizedRestURLGenerator<T>
A parameterized REST URL generator.- Since:
- 8.0
- Version:
- $Id: 66b01e73b1becedd310a39099599d59f5dcfa050 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getURL(T resource)
-
-
-
Method Detail
-
getURL
URL getURL(T resource) throws XWikiRestException
- Parameters:
resource
- an resource- Returns:
- the REST URL to access the given entity
- Throws:
XWikiRestException
- if problems occur
-
-