FileDocCategorySizeDatePackage
ServletMap.javaAPI DocGlassfish v2 API2813Fri May 04 22:32:08 BST 2007org.apache.catalina.deploy

ServletMap

public class ServletMap extends Object
Class representing a servlet mapping containing multiple URL patterns. See Servlet 2.5, SRV.18.0.3 ("Multiple Occurrences of Servlet Mappings") for details.

Fields Summary
String
servletName
String[]
urlPatterns
Constructors Summary
Methods Summary
public voidaddURLPattern(java.lang.String pattern)

        String[] results = new String[urlPatterns.length + 1];
        System.arraycopy(urlPatterns, 0, results, 0, urlPatterns.length);
        results[urlPatterns.length] = pattern;
        urlPatterns = results;
    
public java.lang.StringgetServletName()

        return servletName;
    
public java.lang.String[]getUrlPatterns()

        return urlPatterns;
    
public voidsetServletName(java.lang.String name)

    
        
        servletName = name;