Class BasicRestServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.juneau.rest.servlet.RestServlet
org.apache.juneau.rest.servlet.BasicRestServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig, BasicRestOperations
Direct Known Subclasses:
AtomFeedResource, BasicRestServletGroup, ConfigResource, DirectoryResource, JsonSchemaResource, LogsResource, PhotosResource, RrpcServlet, ShutdownResource

public abstract class BasicRestServlet extends RestServlet implements BasicRestOperations, BasicUniversalConfig
Subclass of RestServlet with default settings and standard methods defined.

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.

See Also: