Package dev.voidframework.web.server
Class UndertowHttpHandler
java.lang.Object
dev.voidframework.web.server.UndertowHttpHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
Undertow HTTP handler.
-
Constructor Summary
ConstructorsConstructorDescriptionUndertowHttpHandler(com.typesafe.config.Config configuration, HttpRequestHandler httpRequestHandler, SessionSigner sessionSigner) Build a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange httpServerExchange)
-
Constructor Details
-
UndertowHttpHandler
public UndertowHttpHandler(com.typesafe.config.Config configuration, HttpRequestHandler httpRequestHandler, SessionSigner sessionSigner) Build a new instance.- Parameters:
configuration- The application configurationhttpRequestHandler- The HTTP request handlersessionSigner- The session signer
-
-
Method Details
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange httpServerExchange) - Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler
-