Class BasicSpringRestServletGroup

java.lang.Object
jakarta.servlet.GenericServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig
Direct Known Subclasses:
RootResources

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.

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: