public enum DispatcherType extends Enum<DispatcherType>
DispatcherType
and used in configuration as the servlet API may
not be present.Enum Constant and Description |
---|
ASYNC
Apply the filter under calls dispatched from an AsyncContext.
|
ERROR
Apply the filter when an error is handled.
|
FORWARD
Apply the filter on "RequestDispatcher.forward()" calls.
|
INCLUDE
Apply the filter on "RequestDispatcher.include()" calls.
|
REQUEST
Apply the filter on ordinary client calls.
|
Modifier and Type | Method and Description |
---|---|
static DispatcherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatcherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatcherType FORWARD
public static final DispatcherType INCLUDE
public static final DispatcherType REQUEST
public static final DispatcherType ASYNC
public static final DispatcherType ERROR
public static DispatcherType[] values()
for (DispatcherType c : DispatcherType.values()) System.out.println(c);
public static DispatcherType 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