public class ServletDef extends Object implements Serializable
<servlet>
element in the deployment descriptor.Constructor and Description |
---|
ServletDef() |
public String getDescription()
public void setDescription(String description)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getSmallIcon()
public void setSmallIcon(String smallIcon)
public String getLargeIcon()
public void setLargeIcon(String largeIcon)
public String getServletName()
public void setServletName(String servletName)
public String getServletClass()
public void setServletClass(String servletClass)
public String getJspFile()
public void setJspFile(String jspFile)
public void addInitParameter(String name, String value)
name
- The initialisation parameter namevalue
- The initialisation parameter valuepublic Integer getLoadOnStartup()
public void setLoadOnStartup(String loadOnStartup)
public String getRunAs()
public void setRunAs(String runAs)
public Set<SecurityRoleRef> getSecurityRoleRefs()
public void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
@Deprecated public void addSecurityRoleRef(String roleName, String roleLink)
public MultipartDef getMultipartDef()
public void setMultipartDef(MultipartDef multipartDef)
public Boolean getAsyncSupported()
public void setAsyncSupported(String asyncSupported)
public Boolean getEnabled()
public void setEnabled(String enabled)
public boolean isOverridable()
public void setOverridable(boolean overridable)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.