Interface BasicJsonConfig

All Superinterfaces:
DefaultConfig

public interface BasicJsonConfig extends DefaultConfig
Basic configuration for a REST resource that supports JSON 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 BasicJsonConfig { ... }

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

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: