public class RequestDispatcherImpl extends Object implements javax.servlet.RequestDispatcher
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 and Description |
---|
RequestDispatcherImpl(ServletChain chain, ServletContextImpl servletContext) |
RequestDispatcherImpl(String path, ServletContextImpl servletContext) |
Modifier and Type | Method and Description |
---|---|
void | error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName) |
void | error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName, String message) |
void | error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName, Throwable exception) |
void | forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) |
void | include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) |
void | mock(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) |
public RequestDispatcherImpl(String path, ServletContextImpl servletContext)
public RequestDispatcherImpl(ServletChain chain, ServletContextImpl servletContext)
public void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
forward
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
public void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
include
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
public void error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName, String message) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void error(ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String servletName, Throwable exception) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void mock(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.