|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.deploy.ServletDef
public class ServletDef
Representation of a servlet definition for a web application, as represented
in a <servlet>
element in the deployment descriptor.
Constructor Summary | |
---|---|
ServletDef()
|
Method Summary | |
---|---|
void |
addInitParameter(String name,
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(String roleName,
String roleLink)
Add a security-role-ref to the set of security-role-refs associated with this servlet. |
Boolean |
getAsyncSupported()
|
String |
getDescription()
|
String |
getDisplayName()
|
Boolean |
getEnabled()
|
String |
getJspFile()
|
String |
getLargeIcon()
|
Integer |
getLoadOnStartup()
|
MultipartDef |
getMultipartDef()
|
Map<String,String> |
getParameterMap()
|
String |
getRunAs()
|
Set<SecurityRoleRef> |
getSecurityRoleRefs()
|
String |
getServletClass()
|
String |
getServletName()
|
String |
getSmallIcon()
|
void |
setAsyncSupported(String asyncSupported)
|
void |
setDescription(String description)
|
void |
setDisplayName(String displayName)
|
void |
setEnabled(String enabled)
|
void |
setJspFile(String jspFile)
|
void |
setLargeIcon(String largeIcon)
|
void |
setLoadOnStartup(String loadOnStartup)
|
void |
setMultipartDef(MultipartDef multipartDef)
|
void |
setRunAs(String runAs)
|
void |
setServletClass(String servletClass)
|
void |
setServletName(String servletName)
|
void |
setSmallIcon(String smallIcon)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletDef()
Method Detail |
---|
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 Map<String,String> getParameterMap()
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)
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)
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |