private static enum URLPattern.PatternType extends java.lang.Enum<URLPattern.PatternType>
Enum Constant and Description |
---|
DEFAULT
the '/' pattern
|
EXACT
an exact pattern
|
EXTENSION
a '*.xxx' pattern
|
PATH_PREFIX
a '/.../*' pattern
|
THE_PATH_PREFIX
the '/*' pattern
|
Modifier and Type | Method and Description |
---|---|
static URLPattern.PatternType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static URLPattern.PatternType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URLPattern.PatternType DEFAULT
public static final URLPattern.PatternType THE_PATH_PREFIX
public static final URLPattern.PatternType PATH_PREFIX
public static final URLPattern.PatternType EXTENSION
public static final URLPattern.PatternType EXACT
public static URLPattern.PatternType[] values()
for (URLPattern.PatternType c : URLPattern.PatternType.values()) System.out.println(c);
public static URLPattern.PatternType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null