public class ServletDef
extends java.lang.Object
implements java.io.Serializable
<servlet>
element in the deployment descriptor.Constructor and Description |
---|
ServletDef() |
Modifier and Type | Method and Description |
---|---|
void |
addInitParameter(java.lang.String name,
java.lang.String value)
Add an initialization parameter to the set of parameters associated
with this servlet.
|
void |
addSecurityRoleRef(SecurityRoleRef securityRoleRef)
Add a security-role-ref to the set of security-role-refs associated
with this servlet.
|
void |
addSecurityRoleRef(java.lang.String roleName,
java.lang.String roleLink)
Deprecated.
|
java.lang.Boolean |
getAsyncSupported() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.Boolean |
getEnabled() |
java.lang.String |
getJspFile() |
java.lang.String |
getLargeIcon() |
java.lang.Integer |
getLoadOnStartup() |
MultipartDef |
getMultipartDef() |
java.util.Map<java.lang.String,java.lang.String> |
getParameterMap() |
java.lang.String |
getRunAs() |
java.util.Set<SecurityRoleRef> |
getSecurityRoleRefs() |
java.lang.String |
getServletClass() |
java.lang.String |
getServletName() |
java.lang.String |
getSmallIcon() |
boolean |
isOverridable() |
void |
setAsyncSupported(java.lang.String asyncSupported) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String displayName) |
void |
setEnabled(java.lang.String enabled) |
void |
setJspFile(java.lang.String jspFile) |
void |
setLargeIcon(java.lang.String largeIcon) |
void |
setLoadOnStartup(java.lang.String loadOnStartup) |
void |
setMultipartDef(MultipartDef multipartDef) |
void |
setOverridable(boolean overridable) |
void |
setRunAs(java.lang.String runAs) |
void |
setServletClass(java.lang.String servletClass) |
void |
setServletName(java.lang.String servletName) |
void |
setSmallIcon(java.lang.String smallIcon) |
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getSmallIcon()
public void setSmallIcon(java.lang.String smallIcon)
public java.lang.String getLargeIcon()
public void setLargeIcon(java.lang.String largeIcon)
public java.lang.String getServletName()
public void setServletName(java.lang.String servletName)
public java.lang.String getServletClass()
public void setServletClass(java.lang.String servletClass)
public java.lang.String getJspFile()
public void setJspFile(java.lang.String jspFile)
public java.util.Map<java.lang.String,java.lang.String> getParameterMap()
public void addInitParameter(java.lang.String name, java.lang.String value)
name
- The initialisation parameter namevalue
- The initialisation parameter valuepublic java.lang.Integer getLoadOnStartup()
public void setLoadOnStartup(java.lang.String loadOnStartup)
public java.lang.String getRunAs()
public void setRunAs(java.lang.String runAs)
public java.util.Set<SecurityRoleRef> getSecurityRoleRefs()
public void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
@Deprecated public void addSecurityRoleRef(java.lang.String roleName, java.lang.String roleLink)
public MultipartDef getMultipartDef()
public void setMultipartDef(MultipartDef multipartDef)
public java.lang.Boolean getAsyncSupported()
public void setAsyncSupported(java.lang.String asyncSupported)
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.String enabled)
public boolean isOverridable()
public void setOverridable(boolean overridable)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.