Package org.apache.juneau.rest.servlet
Class BasicRestServletGroup
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.juneau.rest.servlet.RestServlet
org.apache.juneau.rest.servlet.BasicRestServlet
org.apache.juneau.rest.servlet.BasicRestServletGroup
- All Implemented Interfaces:
- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable,- BasicUniversalConfig,- DefaultConfig,- DefaultHtmlConfig,- BasicGroupOperations,- BasicRestOperations
- Direct Known Subclasses:
- DtoExamples,- RootResources,- SampleRootResource
public abstract class BasicRestServletGroup
extends BasicRestServlet
implements BasicGroupOperations
Specialized subclass of 
BasicRestServlet for showing "group" pages.
 Meant as a base class for top-level REST resources in servlet containers.
 Provides support for JSON, XML, HTML, URL-Encoding, UON, XML, OpenAPI, and MessagePack.  See BasicUniversalConfig
 for details.
 
 Implements the basic REST endpoints defined in BasicRestOperations and BasicGroupOperations.
 
 Children are attached to this resource using the @Rest(children) annotation.
 
See Also:
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.juneau.rest.servlet.BasicRestServleterror, getFavIcon, getHtdoc, getStats, getSwaggerMethods inherited from class org.apache.juneau.rest.servlet.RestServletdestroy, doLog, getContext, getPath, getRequest, getResponse, init, log, log, service, setContextMethods inherited from class jakarta.servlet.http.HttpServletdoDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServletgetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
BasicRestServletGrouppublic BasicRestServletGroup()
 
- 
- 
Method Details- 
getChildrenDescription copied from interface:BasicGroupOperations[GET /] - Get child resources.Returns a bean that lists and allows navigation to child resources. - Specified by:
- getChildrenin interface- BasicGroupOperations
- Parameters:
- req- The HTTP request.
- Returns:
- The bean containing links to the child resources.
 
 
-