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