Interface BasicJsonHtmlConfig

All Superinterfaces:
DefaultConfig, DefaultHtmlConfig

Basic configuration for a REST resource that supports JSON and HTML transport.

Default settings defined:

This annotation can be applied to REST resource classes to define common JSON default configurations:

// Used on a top-level resource. @Rest public class MyResource extends RestServlet implements BasicJsonHtmlConfig { ... }

// Used on a child resource. @Rest public class MyResource extends RestObject implements BasicJsonHtmlConfig { ... }

Note that the framework will aggregate annotations defined on all classes in the class hierarchy with values defined on child classes overriding values defined on parent classes. That allows any values defined on this interface to be overridden by annotations defined on the implemented class.

See Also: