public class ServletInitialHandler extends Object implements io.undertow.server.HttpHandler, ServletDispatcher
| Constructor and Description |
|---|
ServletInitialHandler(ServletPathMatches paths,
io.undertow.server.HttpHandler next,
Deployment deployment,
ServletContextImpl servletContext) |
| 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 pathInfo,
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
|
io.undertow.server.HttpHandler |
getNext() |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
public ServletInitialHandler(ServletPathMatches paths, io.undertow.server.HttpHandler next, Deployment deployment, ServletContextImpl servletContext)
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerExceptionpublic void dispatchToPath(io.undertow.server.HttpServerExchange exchange,
ServletPathMatch pathInfo,
javax.servlet.DispatcherType dispatcherType)
throws Exception
ServletDispatcherdispatchToPath in interface ServletDispatcherExceptionServletRequestContextpublic void dispatchToServlet(io.undertow.server.HttpServerExchange exchange,
ServletChain servletchain,
javax.servlet.DispatcherType dispatcherType)
throws Exception
ServletDispatcherdispatchToServlet in interface ServletDispatcherExceptionpublic void dispatchMockRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
ServletDispatcherdispatchMockRequest in interface ServletDispatcherrequest - The requestresponse - The responsejavax.servlet.ServletExceptionpublic io.undertow.server.HttpHandler getNext()
Copyright © 2017. All rights reserved.