Class ServletDescriptor

java.lang.Object
org.nuxeo.runtime.server.ServletDescriptor

public class ServletDescriptor extends Object
Descriptor for a servlet. For convenience, we follow the official syntax of web.xml.
  • Field Details

    • context

      protected String context
    • name

      protected String name
      Since:
      10.2
    • clazz

      protected Class<?> clazz
      Since:
      10.2
    • urlPatterns

      protected List<String> urlPatterns
      Since:
      10.2
    • initParams

      protected Map<String,String> initParams
    • displayName

      protected String displayName
      Since:
      10.2
  • Constructor Details

    • ServletDescriptor

      public ServletDescriptor()
  • Method Details

    • setName

      public void setName(String name)
    • setClass

      public void setClass(Class<?> clazz)
    • setUrlPattern

      public void setUrlPattern(String urlPattern)
    • setInitParams

      public void setInitParams(List<InitParamDescriptor> descriptors)
    • setInitParams

      public void setInitParams(Map<String,String> initParams)
    • setDisplayName

      public void setDisplayName(String displayName)
    • getContext

      public String getContext()
    • getName

      public String getName()
    • getClazz

      public Class<?> getClazz()
    • getUrlPatterns

      public List<String> getUrlPatterns()
    • getInitParams

      public Map<String,String> getInitParams()
    • getDisplayName

      public String getDisplayName()