Class ServletHandler

java.lang.Object
io.undertow.servlet.handlers.ServletHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class ServletHandler extends Object implements io.undertow.server.HttpHandler
The handler that is responsible for invoking the servlet

TODO: do we want to move lifecycle considerations out of this handler?

Author:
Stuart Douglas
  • Constructor Details

    • ServletHandler

      public ServletHandler(ManagedServlet managedServlet)
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws IOException, javax.servlet.ServletException
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Throws:
      IOException
      javax.servlet.ServletException
    • getManagedServlet

      public ManagedServlet getManagedServlet()