Package io.undertow.servlet.handlers
Class ServletHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.ServletHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class ServletHandler extends java.lang.Object implements io.undertow.server.HttpHandler
The handler that is responsible for invoking the servletTODO: do we want to move lifecycle considerations out of this handler?
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ServletHandler(ManagedServlet managedServlet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedServlet
getManagedServlet()
void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
ServletHandler
public ServletHandler(ManagedServlet managedServlet)
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws java.io.IOException, jakarta.servlet.ServletException
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Throws:
java.io.IOException
jakarta.servlet.ServletException
-
getManagedServlet
public ManagedServlet getManagedServlet()
-
-