Class BaseServletDTO

Direct Known Subclasses:
ErrorPageDTO, ServletDTO

public abstract class BaseServletDTO extends DTO
Represents common information about a jakarta.servlet.Servlet service.
  • Field Details

    • name

      public String name
      The name of the servlet. This value is never null, unless this object represents a FailedServletDTO or a FailedErrorPageDTO where the value might be null.
    • servletInfo

      public String servletInfo
      The information string from the servlet.

      This is the value returned by the Servlet.getServletInfo() method. For a FailedServletDTO or a FailedErrorPageDTO this is always null.

    • asyncSupported

      public boolean asyncSupported
      Specifies whether the servlet supports asynchronous processing.
    • initParams

      public Map<String,String> initParams
      The servlet initialization parameters as provided during registration of the servlet. Additional parameters like the Http Service Runtime attributes are not included. If the service has no initialization parameters, the map is empty.
    • servletContextId

      public long servletContextId
      The service id of the servlet context for the servlet represented by this DTO.
    • serviceId

      public long serviceId
      Service property identifying the servlet. In the case of a servlet 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 servlet 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.
  • Constructor Details

    • BaseServletDTO

      public BaseServletDTO()