Annotation Interface HttpWhiteboardResource
@ComponentPropertyType
@Retention(CLASS)
@Target(TYPE)
@RequireHttpWhiteboard
public @interface HttpWhiteboardResource
Component Property Type for the
osgi.http.whiteboard.resource.pattern
and osgi.http.whiteboard.resource.prefix
service properties.
This annotation can be used on any service to declare the values of the
HTTP_WHITEBOARD_RESOURCE_PATTERN
and
HTTP_WHITEBOARD_RESOURCE_PREFIX
service properties.
- See Also:
-
- "Component Property Types"
-
Required Element Summary
-
Field Summary
-
Field Details
-
PREFIX_
Prefix for the property name. This value is prepended to each property name.- See Also:
-
-
Element Details
-
pattern
String[] patternService property specifying the request mappings for resources. The specified patterns are used to determine whether a request should be mapped to resources.- Returns:
- The resource patterns.
- See Also:
-
prefix
String prefixService property specifying the resource entry prefix for a resource service. This prefix is used to map a requested resource to the bundle's entries. The value must not end with slash ("/") with the exception that a name of the form "/" is used to denote the root of the bundle.- Returns:
- The resource prefix.
- See Also:
-