Annotation Type JSONRequired
-
@Retention(CLASS) @Target(TYPE) @RequireJaxrsWhiteboard @Requirement(namespace="osgi.service", filter="(osgi.jaxrs.media.type=application/json)", resolution=OPTIONAL, effective="active") @ComponentPropertyType public @interface JSONRequired
Component Property Type for requiring JSON media type support using theJaxrsWhiteboardConstants.JAX_RS_MEDIA_TYPEservice property.This annotation can be used on a JAX-RS resource to declare require that JSON support is available before the resource becomes active. It also adds an optional
Requirementfor a service providing this media type to aid with provisioning.- See Also:
- "Component Property Types"
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringFILTERA filter requiring anosgi.jaxrs.media.typeofapplication/json
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringosgi_jaxrs_extension_selectProvides an extension selection filter for an extension supporting the JSON media type
-