Class ServletDescriptor


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

      • 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
      • displayName

        protected String displayName
        Since:
        10.2
    • Constructor Detail

      • ServletDescriptor

        public ServletDescriptor()
    • Method Detail

      • setName

        public void setName​(String name)
      • setClass

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

        public void setUrlPattern​(String urlPattern)
      • 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()
      • getDisplayName

        public String getDisplayName()