public static enum Dispatchers.Dispatcher extends Enum<Dispatchers.Dispatcher>
Modifier and Type | Method and Description |
---|---|
static Dispatchers.Dispatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dispatchers.Dispatcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dispatchers.Dispatcher FORWARD
public static final Dispatchers.Dispatcher REQUEST
public static Dispatchers.Dispatcher[] values()
for (Dispatchers.Dispatcher c : Dispatchers.Dispatcher.values()) System.out.println(c);
public static Dispatchers.Dispatcher 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 null