Class ResourceDTO

Direct Known Subclasses:

public class ResourceDTO extends DTO
Represents a resource definition currently being used by a servlet context.
  • Field Details

    • patterns

      public String[] 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

      public String prefix
      The prefix of the resource.
    • serviceId

      public long serviceId
      Service 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 servletContextId
      The service id of the servlet context for the resource represented by this DTO.
  • Constructor Details

    • ResourceDTO

      public ResourceDTO()