Package org.eclipse.jetty.server
Class Dispatcher
java.lang.Object
org.eclipse.jetty.server.Dispatcher
- All Implemented Interfaces:
javax.servlet.RequestDispatcher
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Dispatch include attribute namesstatic final String
Dispatch include attribute namesFields inherited from interface javax.servlet.RequestDispatcher
ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_MAPPING, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_MAPPING, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
-
Constructor Summary
ConstructorDescriptionDispatcher
(ContextHandler contextHandler, String name) Dispatcher
(ContextHandler contextHandler, HttpURI uri, String pathInContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) void
forward
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) protected void
forward
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.DispatcherType dispatch) void
include
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) toString()
-
Field Details
-
__INCLUDE_PREFIX
Dispatch include attribute names- See Also:
-
__FORWARD_PREFIX
Dispatch include attribute names- See Also:
-
-
Constructor Details
-
Dispatcher
-
Dispatcher
- Throws:
IllegalStateException
-
-
Method Details
-
error
public void error(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException - Throws:
javax.servlet.ServletException
IOException
-
include
public void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException - Specified by:
include
in interfacejavax.servlet.RequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
-
forward
public void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException - Specified by:
forward
in interfacejavax.servlet.RequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
-
forward
protected void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.DispatcherType dispatch) throws javax.servlet.ServletException, IOException - Throws:
javax.servlet.ServletException
IOException
-
toString
-