public class DirectRequestDispatcher
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 |
---|
DirectRequestDispatcher(javax.servlet.Servlet servlet,
String path,
String queryString) |
Modifier and Type | Method and Description |
---|---|
void |
forward(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse) |
void |
include(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse) |
public DirectRequestDispatcher(javax.servlet.Servlet servlet, String path, String queryString)
public void forward(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException
forward
in interface javax.servlet.RequestDispatcher
IOException
javax.servlet.ServletException
public void include(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException
include
in interface javax.servlet.RequestDispatcher
IOException
javax.servlet.ServletException