public class Servlet
extends java.lang.Object
Java class for servletType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servletType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/> <choice minOccurs="0"> <element name="servlet-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/> <element name="jsp-file" type="{http://java.sun.com/xml/ns/javaee}jsp-fileType"/> </choice> <element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/> <element name="load-on-startup" type="{http://java.sun.com/xml/ns/javaee}load-on-startupType" minOccurs="0"/> <element name="enabled" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="async-supported" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="run-as" type="{http://java.sun.com/xml/ns/javaee}run-asType" minOccurs="0"/> <element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/> <element name="multipart-config" type="{http://java.sun.com/xml/ns/javaee}multipart-configType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
asyncSupported |
protected TextMap |
description |
protected TextMap |
displayName |
protected java.lang.Boolean |
enabled |
protected LocalCollection<Icon> |
icon |
protected java.lang.String |
id |
protected java.util.List<ParamValue> |
initParam |
protected java.lang.String |
jspFile |
protected java.lang.Integer |
loadOnStartup |
protected MultipartConfig |
multipartConfig |
protected RunAs |
runAs |
protected java.util.List<SecurityRoleRef> |
securityRoleRef |
protected java.lang.String |
servletClass |
protected java.lang.String |
servletName |
Constructor and Description |
---|
Servlet() |
Modifier and Type | Method and Description |
---|---|
void |
addDescription(Text text) |
void |
addDisplayName(Text text) |
java.lang.Boolean |
getAsyncSupported() |
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getDisplayName() |
Text[] |
getDisplayNames() |
java.lang.Boolean |
getEnabled() |
Icon |
getIcon() |
java.util.Map<java.lang.String,Icon> |
getIconMap() |
java.util.Collection<Icon> |
getIcons() |
java.lang.String |
getId() |
java.util.List<ParamValue> |
getInitParam() |
java.lang.String |
getJspFile() |
java.lang.Integer |
getLoadOnStartup() |
MultipartConfig |
getMultipartConfig() |
RunAs |
getRunAs() |
java.util.List<SecurityRoleRef> |
getSecurityRoleRef() |
java.lang.String |
getServletClass() |
java.lang.String |
getServletName() |
void |
setAsyncSupported(java.lang.Boolean asyncSupported) |
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setId(java.lang.String value) |
void |
setJspFile(java.lang.String value) |
void |
setLoadOnStartup(java.lang.Integer value) |
void |
setMultipartConfig(MultipartConfig multipartConfig) |
void |
setRunAs(RunAs value) |
void |
setServletClass(java.lang.String value) |
void |
setServletName(java.lang.String value) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected java.lang.String servletName
protected java.lang.String servletClass
protected java.lang.String jspFile
protected java.util.List<ParamValue> initParam
protected java.lang.Integer loadOnStartup
protected java.lang.Boolean enabled
protected java.lang.Boolean asyncSupported
protected RunAs runAs
protected java.util.List<SecurityRoleRef> securityRoleRef
protected MultipartConfig multipartConfig
protected java.lang.String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public void addDescription(Text text)
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public java.lang.String getDisplayName()
public void addDisplayName(Text text)
public java.util.Collection<Icon> getIcons()
public java.util.Map<java.lang.String,Icon> getIconMap()
public Icon getIcon()
public java.lang.String getServletName()
public void setServletName(java.lang.String value)
public java.lang.String getServletClass()
public void setServletClass(java.lang.String value)
public java.lang.String getJspFile()
public void setJspFile(java.lang.String value)
public java.util.List<ParamValue> getInitParam()
public java.lang.Integer getLoadOnStartup()
public void setLoadOnStartup(java.lang.Integer value)
public java.lang.Boolean getAsyncSupported()
public void setAsyncSupported(java.lang.Boolean asyncSupported)
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public RunAs getRunAs()
public void setRunAs(RunAs value)
public java.util.List<SecurityRoleRef> getSecurityRoleRef()
public MultipartConfig getMultipartConfig()
public void setMultipartConfig(MultipartConfig multipartConfig)
public java.lang.String getId()
public void setId(java.lang.String value)