RequestDispatcherpublic class Dispatcher extends java.lang.Object implements RequestDispatcher
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
__ERROR_DISPATCH |
|
static java.lang.String |
__FORWARD_PREFIX |
Dispatch include attribute names
|
static java.lang.String |
__INCLUDE_PREFIX |
Dispatch include attribute names
|
ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH| Constructor | Description |
|---|---|
Dispatcher(ContextHandler contextHandler,
java.lang.String name) |
|
Dispatcher(ContextHandler contextHandler,
org.eclipse.jetty.http.HttpURI uri,
java.lang.String pathInContext) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
error(ServletRequest request,
ServletResponse response) |
|
void |
forward(ServletRequest request,
ServletResponse response) |
|
protected void |
forward(ServletRequest request,
ServletResponse response,
DispatcherType dispatch) |
|
void |
include(ServletRequest request,
ServletResponse response) |
|
java.lang.String |
toString() |
public static final java.lang.String __ERROR_DISPATCH
public static final java.lang.String __INCLUDE_PREFIX
public static final java.lang.String __FORWARD_PREFIX
public Dispatcher(ContextHandler contextHandler, org.eclipse.jetty.http.HttpURI uri, java.lang.String pathInContext)
public Dispatcher(ContextHandler contextHandler, java.lang.String name) throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void forward(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
forward in interface RequestDispatcherServletExceptionjava.io.IOExceptionpublic void error(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic void include(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
include in interface RequestDispatcherServletExceptionjava.io.IOExceptionprotected void forward(ServletRequest request, ServletResponse response, DispatcherType dispatch) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.