@Rest public abstract class BasicRestServletGroup extends BasicRestServlet
BasicRestServlet for showing "group" pages.
Group pages consist of simple lists of child resource URLs and their labels. They're meant to be used as jumping-off points for child resources.
Child resources are specified using the @Rest(children) annotation.
| Constructor and Description |
|---|
BasicRestServletGroup() |
| Modifier and Type | Method and Description |
|---|---|
ChildResourceDescriptions |
getChildren(RestRequest req)
[GET /] - Get child resources.
|
getOptionsdestroy, getContext, getPath, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext, setRestResourceResolverdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, initpublic BasicRestServletGroup()
@RestMethod(name="GET", path="/", summary="Navigation page") public ChildResourceDescriptions getChildren(RestRequest req)
req - The HTTP request.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.