Class UndertowHttpHandler

java.lang.Object
cloud.piranha.http.undertow.UndertowHttpHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class UndertowHttpHandler extends Object implements io.undertow.server.HttpHandler
The Undertow HttpHandler used by the Undertow implementation of HTTP Server.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • UndertowHttpHandler

      public UndertowHttpHandler(HttpServerProcessor httpServerProcessor)
      Constructor.
      Parameters:
      httpServerProcessor - the HTTP server processor.
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Handle the request.
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Parameters:
      exchange - the HTTP server exchange.
      Throws:
      Exception - when a serious error occurs.