@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.
RestInfoProvider.Null
RestCallLogger.Null
RestResourceResolver.Null
ResourceFinder.Null
BASIC, FUZZY
Constructor and Description |
---|
BasicRestServletGroup() |
Modifier and Type | Method and Description |
---|---|
ChildResourceDescriptions |
getChildren(RestRequest req)
[GET /] - Get child resources.
|
error, getOptions, getOptions2, getStats
destroy, doLog, findResource, getContext, getDescription, getMethodDescription, getMethodSummary, getPath, getProperties, getRequest, getResponse, getServletConfig, getSiteName, getSwagger, getTitle, init, isInitialized, log, log, log, log, log, onDestroy, onEndCall, onInit, onPostCall, onPostInit, onPostInitChildFirst, onPreCall, onStartCall, resolve, resolve, 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–2020 The Apache Software Foundation. All rights reserved.