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(io.undertow.server.HttpServerExchange exchange,
ServletPathMatch pathMatch,
javax.servlet.DispatcherType dispatcherType)
Dispatches a servlet request to the specified servlet path, changing the current path
|
void |
dispatchToServlet(io.undertow.server.HttpServerExchange exchange,
ServletChain servletChain,
javax.servlet.DispatcherType dispatcherType)
Dispatches a servlet request to the specified servlet, without changing the current path
|
void dispatchToPath(io.undertow.server.HttpServerExchange exchange, ServletPathMatch pathMatch, javax.servlet.DispatcherType dispatcherType) throws Exception
Exception
ServletRequestContext
void dispatchToServlet(io.undertow.server.HttpServerExchange exchange, ServletChain servletChain, javax.servlet.DispatcherType dispatcherType) throws Exception
Exception
void dispatchMockRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
request
- The requestresponse
- The responsejavax.servlet.ServletException
Copyright © 2017. All rights reserved.