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
Exception
ServletRequestContext
void dispatchToServlet(HttpServerExchange exchange, ServletChain servletChain, DispatcherType dispatcherType) throws Exception
Exception
void dispatchMockRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException
request
- The requestresponse
- The responseServletException
Copyright © 2021 JBoss by Red Hat. All rights reserved.