Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static String |
PATH_PREFIX |
protected HttpServletResponse |
response |
protected ServletContext |
servletContext |
protected UriInfo |
uriInfo |
Constructor and Description |
---|
APIRoot() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getPageDescription()
Returns a fixed description simulating AbstractPageAction#getPageDescription.
|
NavigationItem |
getPages() |
DispatchElement |
startDispatch(String pathFragment) |
public static final String copyright
public static final String PATH_PREFIX
@Context protected ServletContext servletContext
@Context protected HttpServletResponse response
@Path(value="{pathFragment}") public DispatchElement startDispatch(@PathParam(value="pathFragment") String pathFragment) throws Exception
Exception
@Path(value=":pages") @GET @Produces(value="application/json;charset=UTF-8") public NavigationItem getPages()