public static enum CacheVariable.TypeEnum extends java.lang.Enum<CacheVariable.TypeEnum>
Enum Constant and Description |
---|
COOKIE |
REQUEST_ATTRIBUTE |
REQUEST_PARAMETER |
SESSION_PARAMETER |
Modifier and Type | Method and Description |
---|---|
static CacheVariable.TypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheVariable.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheVariable.TypeEnum REQUEST_PARAMETER
public static final CacheVariable.TypeEnum REQUEST_ATTRIBUTE
public static final CacheVariable.TypeEnum SESSION_PARAMETER
public static final CacheVariable.TypeEnum COOKIE
public static CacheVariable.TypeEnum[] values()
for (CacheVariable.TypeEnum c : CacheVariable.TypeEnum.values()) System.out.println(c);
public static CacheVariable.TypeEnum 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