public static enum Parameter.Source extends Enum<Parameter.Source>
Enum Constant and Description |
---|
CONTEXT |
COOKIE |
ENTITY |
FORM |
HEADER |
MATRIX |
PATH |
QUERY |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Parameter.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameter.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parameter.Source ENTITY
public static final Parameter.Source QUERY
public static final Parameter.Source MATRIX
public static final Parameter.Source PATH
public static final Parameter.Source COOKIE
public static final Parameter.Source HEADER
public static final Parameter.Source CONTEXT
public static final Parameter.Source FORM
public static final Parameter.Source UNKNOWN
public static Parameter.Source[] values()
for (Parameter.Source c : Parameter.Source.values()) System.out.println(c);
public static Parameter.Source valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013 Oracle Corporation. All rights reserved.