@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, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public BasicRestServletGroup()
@RestMethod(name="GET", path="/", summary="Navigation page") public ChildResourceDescriptions getChildren(RestRequest req) throws Exception
req
- The HTTP request.Exception
Copyright © 2018 Apache. All rights reserved.