DefaultServletRequestDispatcher
public interface RequestDispatcher
Modifier and Type | Field | Description |
---|---|---|
static String |
ERROR_EXCEPTION |
Defines the ERROR_EXCEPTION constant.
|
static String |
ERROR_EXCEPTION_TYPE |
Defines the ERROR_EXCEPTION_TYPE constant.
|
static String |
ERROR_MESSAGE |
Defines the ERROR_MESSAGE constant.
|
static String |
ERROR_REQUEST_URI |
Defines the ERROR_REQUEST_URI constant.
|
static String |
ERROR_SERVLET_NAME |
Defines the ERROR_SERVLET_NAME constant.
|
static String |
ERROR_STATUS_CODE |
Defines the ERROR_STATUS_CODE constant.
|
static String |
FORWARD_CONTEXT_PATH |
Defines the FORWARD_CONTEXT_PATH constant.
|
static String |
FORWARD_MAPPING |
Defines the FORWARD_MAPPING constant.
|
static String |
FORWARD_PATH_INFO |
Defines the FORWARD_PATH_INFO constant.
|
static String |
FORWARD_QUERY_STRING |
Defines the FORWARD_QUERY_STRING constant.
|
static String |
FORWARD_REQUEST_URI |
Defines the FORWARD_REQUEST_URI constant.
|
static String |
FORWARD_SERVLET_PATH |
Defines the FORWARD_SERVLET_PATH constant.
|
static String |
INCLUDE_CONTEXT_PATH |
Defines the INCLUDE_CONTEXT_PATH constant.
|
static String |
INCLUDE_MAPPING |
Defines the INCLUDE_MAPPING constant.
|
static String |
INCLUDE_PATH_INFO |
Defines the INCLUDE_PATH_INFO constant.
|
static String |
INCLUDE_QUERY_STRING |
Defines the INCLUDE_QUERY_STRING constant.
|
static String |
INCLUDE_REQUEST_URI |
Defines the INCLUDE_REQUEST_URI constant.
|
static String |
INCLUDE_SERVLET_PATH |
Defines the INCLUDE_SERVLET_PATH constant.
|
Modifier and Type | Method | Description |
---|---|---|
void |
forward(ServletRequest request,
ServletResponse response) |
Forward the request.
|
void |
include(ServletRequest request,
ServletResponse response) |
Include into the request.
|
static final String ERROR_EXCEPTION
static final String ERROR_EXCEPTION_TYPE
static final String ERROR_MESSAGE
static final String ERROR_REQUEST_URI
static final String ERROR_SERVLET_NAME
static final String ERROR_STATUS_CODE
static final String FORWARD_CONTEXT_PATH
static final String FORWARD_MAPPING
static final String FORWARD_PATH_INFO
static final String FORWARD_QUERY_STRING
static final String FORWARD_REQUEST_URI
static final String FORWARD_SERVLET_PATH
static final String INCLUDE_CONTEXT_PATH
static final String INCLUDE_MAPPING
static final String INCLUDE_PATH_INFO
static final String INCLUDE_QUERY_STRING
static final String INCLUDE_REQUEST_URI
static final String INCLUDE_SERVLET_PATH
void forward(ServletRequest request, ServletResponse response) throws IOException, ServletException
request
- the request.response
- the responseIOException
- when an I/O error occurs.ServletException
- when a servlet error occurs.void include(ServletRequest request, ServletResponse response) throws IOException, ServletException
request
- the request.response
- the response.IOException
- when an I/O error occurs.ServletException
- when a servlet error occurs.Copyright © 2020 Piranha Cloud. All rights reserved.