Class ServletMapping


  • public class ServletMapping
    extends Object
    web-common_3_0.xsd

    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>
     
    • Constructor Detail

      • ServletMapping

        public ServletMapping()
    • Method Detail

      • getServletName

        public String getServletName()
      • setServletName

        public void setServletName​(String value)
      • getUrlPattern

        public List<String> getUrlPattern()
      • getId

        public String getId()
      • setId

        public void setId​(String value)