public class Servlet extends 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 Boolean |
asyncSupported |
protected TextMap |
description |
protected TextMap |
displayName |
protected Boolean |
enabled |
protected LocalCollection<Icon> |
icon |
protected String |
id |
protected List<ParamValue> |
initParam |
protected String |
jspFile |
protected Integer |
loadOnStartup |
protected MultipartConfig |
multipartConfig |
protected RunAs |
runAs |
protected List<SecurityRoleRef> |
securityRoleRef |
protected String |
servletClass |
protected String |
servletName |
| Constructor and Description |
|---|
Servlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(Text text) |
void |
addDisplayName(Text text) |
Boolean |
getAsyncSupported() |
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getDisplayName() |
Text[] |
getDisplayNames() |
Boolean |
getEnabled() |
Icon |
getIcon() |
Map<String,Icon> |
getIconMap() |
Collection<Icon> |
getIcons() |
String |
getId() |
List<ParamValue> |
getInitParam() |
String |
getJspFile() |
Integer |
getLoadOnStartup() |
MultipartConfig |
getMultipartConfig() |
RunAs |
getRunAs() |
List<SecurityRoleRef> |
getSecurityRoleRef() |
String |
getServletClass() |
String |
getServletName() |
void |
setAsyncSupported(Boolean asyncSupported) |
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setEnabled(Boolean enabled) |
void |
setId(String value) |
void |
setJspFile(String value) |
void |
setLoadOnStartup(Integer value) |
void |
setMultipartConfig(MultipartConfig multipartConfig) |
void |
setRunAs(RunAs value) |
void |
setServletClass(String value) |
void |
setServletName(String value) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String servletName
protected String servletClass
protected String jspFile
protected List<ParamValue> initParam
protected Integer loadOnStartup
protected Boolean enabled
protected Boolean asyncSupported
protected RunAs runAs
protected List<SecurityRoleRef> securityRoleRef
protected MultipartConfig multipartConfig
protected String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public void addDescription(Text text)
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public void addDisplayName(Text text)
public Collection<Icon> getIcons()
public Icon getIcon()
public String getServletName()
public void setServletName(String value)
public String getServletClass()
public void setServletClass(String value)
public String getJspFile()
public void setJspFile(String value)
public List<ParamValue> getInitParam()
public Integer getLoadOnStartup()
public void setLoadOnStartup(Integer value)
public Boolean getAsyncSupported()
public void setAsyncSupported(Boolean asyncSupported)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RunAs getRunAs()
public void setRunAs(RunAs value)
public List<SecurityRoleRef> getSecurityRoleRef()
public MultipartConfig getMultipartConfig()
public void setMultipartConfig(MultipartConfig multipartConfig)
public String getId()
public void setId(String value)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.