Package org.apache.juneau.rest.config
Interface BasicJsonHtmlConfig
- All Superinterfaces:
DefaultConfig
,DefaultHtmlConfig
Basic configuration for a REST resource that supports JSON and HTML transport.
Default settings defined:
Rest
:serializers
:parsers
:defaultAccept
:"text/json" config
:"$S{juneau.configFile,SYSTEM_DEFAULT}"
BeanConfig
:ignoreUnknownBeanProperties
:"true"
SerializerConfig
:uriResolution
:"ROOT_RELATIVE"
HtmlDocConfig
:
This annotation can be applied to REST resource classes to define common JSON default configurations:
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.