Class ServletDef

  • All Implemented Interfaces:

    public class ServletDef
    extends Object
    implements Serializable
    Representation of a servlet definition for a web application, as represented in a <servlet> element in the deployment descriptor.
    See Also:
    Serialized Form
    • Constructor Detail

      • ServletDef

        public ServletDef()
    • Method Detail

      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getSmallIcon

        public String getSmallIcon()
      • setSmallIcon

        public void setSmallIcon​(String smallIcon)
      • getLargeIcon

        public String getLargeIcon()
      • setLargeIcon

        public void setLargeIcon​(String largeIcon)
      • getServletName

        public String getServletName()
      • setServletName

        public void setServletName​(String servletName)
      • getServletClass

        public String getServletClass()
      • setServletClass

        public void setServletClass​(String servletClass)
      • getJspFile

        public String getJspFile()
      • setJspFile

        public void setJspFile​(String jspFile)
      • addInitParameter

        public void addInitParameter​(String name,
                                     String value)
        Add an initialization parameter to the set of parameters associated with this servlet.
        name - The initialisation parameter name
        value - The initialisation parameter value
      • getLoadOnStartup

        public Integer getLoadOnStartup()
      • setLoadOnStartup

        public void setLoadOnStartup​(String loadOnStartup)
      • getRunAs

        public String getRunAs()
      • setRunAs

        public void setRunAs​(String runAs)
      • addSecurityRoleRef

        public void addSecurityRoleRef​(SecurityRoleRef securityRoleRef)
        Add a security-role-ref to the set of security-role-refs associated with this servlet.
        securityRoleRef - The security role
      • setMultipartDef

        public void setMultipartDef​(MultipartDef multipartDef)
      • getAsyncSupported

        public Boolean getAsyncSupported()
      • setAsyncSupported

        public void setAsyncSupported​(String asyncSupported)
      • getEnabled

        public Boolean getEnabled()
      • setEnabled

        public void setEnabled​(String enabled)
      • isOverridable

        public boolean isOverridable()
      • setOverridable

        public void setOverridable​(boolean overridable)