public class ServletType 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 TrueFalseType |
asyncSupported |
protected List<DescriptionType> |
description |
protected List<DisplayNameType> |
displayName |
protected TrueFalseType |
enabled |
protected List<IconType> |
icon |
protected String |
id |
protected List<ParamValueType> |
initParam |
protected JspFileType |
jspFile |
protected String |
loadOnStartup |
protected MultipartConfigType |
multipartConfig |
protected RunAsType |
runAs |
protected List<SecurityRoleRefType> |
securityRoleRef |
protected FullyQualifiedClassType |
servletClass |
protected ServletNameType |
servletName |
| Constructor and Description |
|---|
ServletType() |
| Modifier and Type | Method and Description |
|---|---|
TrueFalseType |
getAsyncSupported()
Gets the value of the asyncSupported property.
|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property.
|
TrueFalseType |
getEnabled()
Gets the value of the enabled property.
|
List<IconType> |
getIcon()
Gets the value of the icon property.
|
String |
getId()
Gets the value of the id property.
|
List<ParamValueType> |
getInitParam()
Gets the value of the initParam property.
|
JspFileType |
getJspFile()
Gets the value of the jspFile property.
|
String |
getLoadOnStartup()
Gets the value of the loadOnStartup property.
|
MultipartConfigType |
getMultipartConfig()
Gets the value of the multipartConfig property.
|
RunAsType |
getRunAs()
Gets the value of the runAs property.
|
List<SecurityRoleRefType> |
getSecurityRoleRef()
Gets the value of the securityRoleRef property.
|
FullyQualifiedClassType |
getServletClass()
Gets the value of the servletClass property.
|
ServletNameType |
getServletName()
Gets the value of the servletName property.
|
void |
setAsyncSupported(TrueFalseType value)
Sets the value of the asyncSupported property.
|
void |
setEnabled(TrueFalseType value)
Sets the value of the enabled property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setJspFile(JspFileType value)
Sets the value of the jspFile property.
|
void |
setLoadOnStartup(String value)
Sets the value of the loadOnStartup property.
|
void |
setMultipartConfig(MultipartConfigType value)
Sets the value of the multipartConfig property.
|
void |
setRunAs(RunAsType value)
Sets the value of the runAs property.
|
void |
setServletClass(FullyQualifiedClassType value)
Sets the value of the servletClass property.
|
void |
setServletName(ServletNameType value)
Sets the value of the servletName property.
|
ServletType |
withAsyncSupported(TrueFalseType value) |
ServletType |
withDescription(Collection<DescriptionType> values) |
ServletType |
withDescription(DescriptionType... values) |
ServletType |
withDisplayName(Collection<DisplayNameType> values) |
ServletType |
withDisplayName(DisplayNameType... values) |
ServletType |
withEnabled(TrueFalseType value) |
ServletType |
withIcon(Collection<IconType> values) |
ServletType |
withIcon(IconType... values) |
ServletType |
withId(String value) |
ServletType |
withInitParam(Collection<ParamValueType> values) |
ServletType |
withInitParam(ParamValueType... values) |
ServletType |
withJspFile(JspFileType value) |
ServletType |
withLoadOnStartup(String value) |
ServletType |
withMultipartConfig(MultipartConfigType value) |
ServletType |
withRunAs(RunAsType value) |
ServletType |
withSecurityRoleRef(Collection<SecurityRoleRefType> values) |
ServletType |
withSecurityRoleRef(SecurityRoleRefType... values) |
ServletType |
withServletClass(FullyQualifiedClassType value) |
ServletType |
withServletName(ServletNameType value) |
protected List<DescriptionType> description
protected List<DisplayNameType> displayName
protected ServletNameType servletName
protected FullyQualifiedClassType servletClass
protected JspFileType jspFile
protected List<ParamValueType> initParam
protected String loadOnStartup
protected TrueFalseType enabled
protected TrueFalseType asyncSupported
protected RunAsType runAs
protected List<SecurityRoleRefType> securityRoleRef
protected MultipartConfigType multipartConfig
protected String id
public List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
public List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
public ServletNameType getServletName()
ServletNameTypepublic void setServletName(ServletNameType value)
value - allowed object is
ServletNameTypepublic FullyQualifiedClassType getServletClass()
FullyQualifiedClassTypepublic void setServletClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic JspFileType getJspFile()
JspFileTypepublic void setJspFile(JspFileType value)
value - allowed object is
JspFileTypepublic List<ParamValueType> getInitParam()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the initParam property.
For example, to add a new item, do as follows:
getInitParam().add(newItem);
Objects of the following type(s) are allowed in the list
ParamValueType
public String getLoadOnStartup()
Stringpublic void setLoadOnStartup(String value)
value - allowed object is
Stringpublic TrueFalseType getEnabled()
TrueFalseTypepublic void setEnabled(TrueFalseType value)
value - allowed object is
TrueFalseTypepublic TrueFalseType getAsyncSupported()
TrueFalseTypepublic void setAsyncSupported(TrueFalseType value)
value - allowed object is
TrueFalseTypepublic RunAsType getRunAs()
RunAsTypepublic void setRunAs(RunAsType value)
value - allowed object is
RunAsTypepublic List<SecurityRoleRefType> getSecurityRoleRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the securityRoleRef property.
For example, to add a new item, do as follows:
getSecurityRoleRef().add(newItem);
Objects of the following type(s) are allowed in the list
SecurityRoleRefType
public MultipartConfigType getMultipartConfig()
MultipartConfigTypepublic void setMultipartConfig(MultipartConfigType value)
value - allowed object is
MultipartConfigTypepublic void setId(String value)
value - allowed object is
Stringpublic ServletType withDescription(DescriptionType... values)
public ServletType withDescription(Collection<DescriptionType> values)
public ServletType withDisplayName(DisplayNameType... values)
public ServletType withDisplayName(Collection<DisplayNameType> values)
public ServletType withIcon(IconType... values)
public ServletType withIcon(Collection<IconType> values)
public ServletType withServletName(ServletNameType value)
public ServletType withServletClass(FullyQualifiedClassType value)
public ServletType withJspFile(JspFileType value)
public ServletType withInitParam(ParamValueType... values)
public ServletType withInitParam(Collection<ParamValueType> values)
public ServletType withLoadOnStartup(String value)
public ServletType withEnabled(TrueFalseType value)
public ServletType withAsyncSupported(TrueFalseType value)
public ServletType withRunAs(RunAsType value)
public ServletType withSecurityRoleRef(SecurityRoleRefType... values)
public ServletType withSecurityRoleRef(Collection<SecurityRoleRefType> values)
public ServletType withMultipartConfig(MultipartConfigType value)
public ServletType withId(String value)
Copyright © 2020. All rights reserved.