Class BasicSpringRestServletGroup
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable,BasicUniversalConfig,DefaultConfig,DefaultHtmlConfig
- Direct Known Subclasses:
RootResources
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.
Adds the group-navigation endpoint (GET /) by composing NavigationMixin via
@Rest(mixins=...) on top of the residual op-mixins inherited from
BasicSpringRestServlet. The navigation op lives on the NavigationMixin sub-context (backed
by RestMixin.getHostContext()) but renders with the host's
@HtmlDocConfig page decoration — mixin
sub-contexts inherit the host's class-level @HtmlDocConfig (and other class-level config), so the
navigation page matches the host's other endpoints.
Children are attached to this resource using the @Rest(children) annotation.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.rest.server.servlet.RestServlet
RestServlet.Builder<R extends RestServlet,SELF extends RestServlet.Builder<R, SELF>>, RestServlet.DefaultBuilder<R extends RestServlet> -
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.rest.server.springboot.SpringRestServlet
createBeanStoreMethods inherited from class org.apache.juneau.rest.server.servlet.RestServlet
builder, createAuthenticator, destroy, doLog, getContext, getPath, getPaths, getRequest, getResponse, getRestBuilder, init, log, log, service, setContextMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
BasicSpringRestServletGroup
public BasicSpringRestServletGroup()
-