public interface ServletDispatcher
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchMockRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Dispatches a mock request to the servlet container.
|
void |
dispatchToPath(HttpServerExchange exchange,
ServletPathMatch pathMatch,
javax.servlet.DispatcherType dispatcherType)
Dispatches a servlet request to the specified servlet path, changing the current path
|
void |
dispatchToServlet(HttpServerExchange exchange,
ServletChain servletChain,
javax.servlet.DispatcherType dispatcherType)
Dispatches a servlet request to the specified servlet, without changing the current path
|
void dispatchToPath(HttpServerExchange exchange, ServletPathMatch pathMatch, javax.servlet.DispatcherType dispatcherType) throws Exception
ExceptionServletRequestContextvoid dispatchToServlet(HttpServerExchange exchange, ServletChain servletChain, javax.servlet.DispatcherType dispatcherType) throws Exception
Exceptionvoid dispatchMockRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
request - The requestresponse - The responsejavax.servlet.ServletExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.