Annotation Type JaxrsMediaType
-
@ComponentPropertyType @Retention(CLASS) @Target(TYPE) public @interface JaxrsMediaType
Component Property Type for theosgi.jaxrs.media.type
service property.This annotation can be used on a JAX-RS extension or application to declare the value of the
JaxrsWhiteboardConstants.JAX_RS_MEDIA_TYPE
service property.- See Also:
- "Component Property Types"
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
PREFIX_
Prefix for the property name.
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
value
Service property identifying the name(s) of media types supported by this service.
-
-
-
Element Detail
-
value
java.lang.String[] value
Service property identifying the name(s) of media types supported by this service.- Returns:
- The JAX-RS media types supported.
- See Also:
JaxrsWhiteboardConstants.JAX_RS_MEDIA_TYPE
-
-