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
Exception
ServletRequestContext
void dispatchToServlet(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 © 2015 JBoss by Red Hat. All rights reserved.