Class BasicRestObject

java.lang.Object
org.apache.juneau.rest.servlet.RestObject
org.apache.juneau.rest.servlet.BasicRestObject
All Implemented Interfaces:
BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig, BasicRestOperations
Direct Known Subclasses:
BasicRestObjectGroup, HelloWorldResource, HtmlBeansResource, RequestEchoResource, UtilityBeansResource

public abstract class BasicRestObject extends RestObject implements BasicRestOperations, BasicUniversalConfig
Identical to BasicRestServlet but doesn't extend from HttpServlet.

Meant as a base class for child REST resources in servlet containers and 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.

See Also: