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