Class BasicSpringRestServletGroup
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.juneau.rest.servlet.RestServlet
org.apache.juneau.rest.springboot.SpringRestServlet
org.apache.juneau.rest.springboot.BasicSpringRestServlet
org.apache.juneau.rest.springboot.BasicSpringRestServletGroup
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
,BasicUniversalConfig
,DefaultConfig
,DefaultHtmlConfig
,BasicGroupOperations
,BasicRestOperations
public abstract class BasicSpringRestServletGroup
extends BasicSpringRestServlet
implements BasicGroupOperations
Specialized subclass of
BasicSpringRestServlet
for showing "group" pages.
Meant as a base class for top-level REST resources in Spring Boot environments.
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
.
Children are attached to this resource using the @Rest(children)
annotation.
See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.rest.springboot.BasicSpringRestServlet
error, getFavIcon, getHtdoc, getStats, getSwagger
Methods inherited from class org.apache.juneau.rest.springboot.SpringRestServlet
createBeanStore
Methods inherited from class org.apache.juneau.rest.servlet.RestServlet
destroy, doLog, getContext, getPath, getRequest, getResponse, init, log, log, service, setContext
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
BasicSpringRestServletGroup
public BasicSpringRestServletGroup()
-
-
Method Details
-
getChildren
Description copied from interface:BasicGroupOperations
[GET /] - Get child resources.Returns a bean that lists and allows navigation to child resources.
- Specified by:
getChildren
in interfaceBasicGroupOperations
- Parameters:
req
- The HTTP request.- Returns:
- The bean containing links to the child resources.
-