public enum DispatcherType extends Enum<DispatcherType>
DispatcherType and used in configuration as the servlet API may
 not be present.| Enum Constant and Description | 
|---|
| ASYNCApply the filter under calls dispatched from an AsyncContext. | 
| ERRORApply the filter when an error is handled. | 
| FORWARDApply the filter on "RequestDispatcher.forward()" calls. | 
| INCLUDEApply the filter on "RequestDispatcher.include()" calls. | 
| REQUESTApply 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 nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.