Annotation Interface ExtendedResource


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented public @interface ExtendedResource
This annotation can mark resource classes or resource methods that should be considered as extended resources.

Extended resource model components are helper components that are not considered as a core of a RESTful API. These can be for example OPTIONS resource methods added by model processors or application.wadl resource producing the WADL. Both resource are rather supportive than the core of RESTful API.

Marking resources and resource methods as extended can influence the way how these components are processed in Jersey features like WADL generation or monitoring. Extended resources are for example skipped when generation WADL in simple default format.

Author:
Miroslav Fuksa