| Modifier and Type | Field and Description |
|---|---|
| private static String | |
| private final String | |
| private int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(Object
the object to be compared. o)Implements java. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public boolean | implies(URLPattern
URLPattern to determine if implied by (matched by)
this URLPattern to p)Does this pattern imply (that is, match) the argument pattern? |
| public int | |
| public String |
| DEFAULT_PATTERN | back to summary |
|---|---|
| private static String DEFAULT_PATTERN | |
| pattern | back to summary |
|---|---|
| private final String pattern | |
| patternType | back to summary |
|---|---|
| private int patternType | |
| PT_DEFAULT | back to summary |
|---|---|
| public static final int PT_DEFAULT | |
| PT_EXACT | back to summary |
|---|---|
| public static final int PT_EXACT | |
| PT_EXTENSION | back to summary |
|---|---|
| public static final int PT_EXTENSION | |
| PT_PREFIX | back to summary |
|---|---|
| public static final int PT_PREFIX | |
| URLPattern | back to summary |
|---|---|
| public URLPattern() | |
| URLPattern | back to summary |
|---|---|
| public URLPattern(String p) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getPatternDepth | back to summary |
|---|---|
| public int getPatternDepth() | |
| implies | back to summary |
|---|---|
| public boolean implies(URLPattern p) Does this pattern imply (that is, match) the argument pattern? This method follows the same rules (in the same order) as those used for mapping requests to servlets. Two URL patterns match if they are related as follows:
| |
| patternType | back to summary |
|---|---|
| public int patternType() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |