Class ResourceDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.ResourceDTO
- Direct Known Subclasses:
FailedResourceDTO
Represents a resource definition currently being used by a servlet context.
- "NotThreadSafe"
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
patterns
The request mappings for the resource.The specified patterns are used to determine whether a request is mapped to the resource. This value is never
null
. -
prefix
The prefix of the resource. -
serviceId
public long serviceIdService property identifying the resource. In the case of a resource registered in the service registry and picked up by a Servlet Whiteboard Implementation, this value is not negative and corresponds to the service id in the registry. If the resource has not been registered in the service registry, the value is negative and a unique negative value is generated by the Http Service Runtime in this case. -
servletContextId
public long servletContextIdThe service id of the servlet context for the resource represented by this DTO.
-
-
Constructor Details
-
ResourceDTO
public ResourceDTO()
-