@RestResource 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 @RestResource(children)
annotation.
Constructor and Description |
---|
BasicRestServletGroup() |
Modifier and Type | Method and Description |
---|---|
ChildResourceDescriptions |
getChildren(RestRequest req)
[GET /] - Get child resources.
|
getOptions
destroy, getContext, getPath, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext, setRestResourceResolver
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, init
public 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.