Package javax.security.jacc
Enum URLPattern.PatternType
- java.lang.Object
-
- java.lang.Enum<URLPattern.PatternType>
-
- javax.security.jacc.URLPattern.PatternType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<URLPattern.PatternType>
- Enclosing class:
- URLPattern
private static enum URLPattern.PatternType extends java.lang.Enum<URLPattern.PatternType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
the '/' patternEXACT
an exact patternEXTENSION
a '*.xxx' patternPATH_PREFIX
a '/.../*' patternTHE_PATH_PREFIX
the '/*' pattern
-
Constructor Summary
Constructors Modifier Constructor Description private
PatternType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final URLPattern.PatternType DEFAULT
the '/' pattern
-
THE_PATH_PREFIX
public static final URLPattern.PatternType THE_PATH_PREFIX
the '/*' pattern
-
PATH_PREFIX
public static final URLPattern.PatternType PATH_PREFIX
a '/.../*' pattern
-
EXTENSION
public static final URLPattern.PatternType EXTENSION
a '*.xxx' pattern
-
EXACT
public static final URLPattern.PatternType EXACT
an exact pattern
-
-
Method Detail
-
values
public static URLPattern.PatternType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (URLPattern.PatternType c : URLPattern.PatternType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static URLPattern.PatternType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-