Package org.xwiki.rest.url
Interface RestURLGenerator
-
@Role public interface RestURLGenerator
Component to generate REST URLs for entities.- Since:
- 7.2M1
- Version:
- $Id: 969fc2091c8a4fc2d8fea257f01b1b49c79ee26d $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getURL(EntityReference entityReference)
Generate a REST URL to access the given entity.
-
-
-
Method Detail
-
getURL
URL getURL(EntityReference entityReference) throws XWikiRestException
Generate a REST URL to access the given entity.- Parameters:
entityReference
- entity- Returns:
- the REST URL to access the given entity
- Throws:
XWikiRestException
- if problems occur (e.g. the entity type is not supported)
-
-