| |
|
| java.lang.Object org.apache.geronimo.security.util.URLPattern
URLPattern | public class URLPattern (Code) | | 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.
version: $Rev: 497904 $ $Date: 2007-01-19 10:49:13 -0800 (Fri, 19 Jan 2007) $ |
Constructor Summary | |
public | URLPattern(String pat) Construct an instance of the utility class for WebModuleConfiguration . |
CONFIDENTIAL | final public static int CONFIDENTIAL(Code) | | |
INTEGRAL | final public static int INTEGRAL(Code) | | |
NA | final public static int NA(Code) | | |
URLPattern | public URLPattern(String pat)(Code) | | Construct an instance of the utility class for WebModuleConfiguration .
Parameters: pat - the URL pattern that this instance is to collect information on See Also: "JSR 115, section 3.1.3" Translating Servlet Deployment Descriptors |
addMethod | public void addMethod(String method)(Code) | | 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.
Parameters: method - the HTTP method to be added to the set. |
equals | public boolean equals(Object obj)(Code) | | TODO this is kinda weird without an explanation
Parameters: obj - object to compare with if this equals obj |
getComplementedMethods | public String getComplementedMethods()(Code) | | |
getMethods | public String getMethods()(Code) | | Return the set of HTTP methods that have been associated with this URL pattern.
a set of HTTP methods |
getMethodsWithTransport | public String getMethodsWithTransport()(Code) | | |
getQualifiedPattern | public String getQualifiedPattern(Set<URLPattern> patterns)(Code) | | Get a qualifed URL pattern relative to a particular set of URL patterns. This algorithm is described in
JSR 115, section 3.1.3.1 "Qualified URL Pattern Names".
Parameters: patterns - the set of possible URL patterns that could be used to qualify this pattern a qualifed URL pattern |
getTransport | public int getTransport()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|
|