Home » geronimo-2.2-source-release » org.apache.geronimo.security.util » [javadoc | source]
public class: URLPattern [javadoc | source]
Utility class for ModuleConfiguration. This class is used to generate qualified patterns, HTTP method sets, complements of HTTP method sets, and HTTP method sets w/ transport restrictions for URL patterns that are found in the web deployment descriptor.
 public URLPattern(String pat) 
    Construct an instance of the utility class for WebModuleConfiguration.
    pat - the URL pattern that this instance is to collect information on
    Also see:
    "JSR 115, section 3.1.3" Translating Servlet Deployment Descriptors
Method from org.apache.geronimo.security.util.URLPattern Summary:
addAllRoles,   addMethod,   addRole,   equals,   getComplementedMethods,   getMethods,   getMethodsWithTransport,   getQualifiedPattern,   getRoles,   hashCode,   matches,   setTransport
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.security.util.URLPattern Detail:
 public  void addAllRoles(Collection collection) 
 public  void addMethod(String method) 
    Add a method to the union of HTTP methods associated with this URL pattern. An empty string is short hand for the set of all HTTP methods.
 public  void addRole(String role) 
 public boolean equals(Object obj) 
 public String getComplementedMethods() 
 public String getMethods() 
    Return the set of HTTP methods that have been associated with this URL pattern.
 public String getMethodsWithTransport() 
 public String getQualifiedPattern(Set patterns) 
    Get a qualifed URL pattern relative to a particular set of URL patterns. This algorithm is described in JSR 115, section "Qualified URL Pattern Names".
 public HashSet getRoles() 
 public int hashCode() 
 boolean matches(URLPattern p) 
 public  void setTransport(String trans)