public class ServletMapping extends Object
Java class for servlet-mappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servlet-mappingType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/>
<element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
servletName |
protected List<String> |
urlPattern |
| Constructor and Description |
|---|
ServletMapping() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getServletName() |
List<String> |
getUrlPattern() |
void |
setId(String value) |
void |
setServletName(String value) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.