Top Description Fields Constructors Methods
jakarta.servlet

public final Enum DispatcherType

extends Enum<DispatcherType>
Class Inheritance

Enumeration of dispatcher types. Used both to define filter mappings and by Servlets to determine why they were called.
Since
Servlet 3.0

Field Summary

Modifier and TypeField and Description
public static final DispatcherType
public static final DispatcherType
ERROR

When the container has passed processing to the error handler mechanism such as a defined error page.

public static final DispatcherType
public static final DispatcherType
public static final DispatcherType
REQUEST

Normal (non-dispatched) requests.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DispatcherType
public static DispatcherType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ASYNCback to summary
public static final DispatcherType ASYNC

AsyncContext#dispatch(), AsyncContext#dispatch(String) and AsyncContext#addListener(AsyncListener, ServletRequest, ServletResponse)

ERRORback to summary
public static final DispatcherType ERROR

When the container has passed processing to the error handler mechanism such as a defined error page.

FORWARDback to summary
public static final DispatcherType FORWARD

RequestDispatcher#forward(ServletRequest, ServletResponse)

INCLUDEback to summary
public static final DispatcherType INCLUDE

RequestDispatcher#include(ServletRequest, ServletResponse)

REQUESTback to summary
public static final DispatcherType REQUEST

Normal (non-dispatched) requests.

Constructor Detail

DispatcherTypeback to summary
private DispatcherType()

Method Detail

valueOfback to summary
public static DispatcherType valueOf(String name)
valuesback to summary
public static DispatcherType[] values()