Class HttpMethodHandler
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.handler.HttpMethodHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
TODO JavaDoc
-
Method Summary
Modifier and TypeMethodDescriptionadd(HttpMethod method, io.undertow.server.HttpHandler handler) voidhandleRequest(io.undertow.server.HttpServerExchange exchange) static HttpMethodHandlerof(io.vavr.collection.Map<HttpMethod, io.undertow.server.HttpHandler> handlers)
-
Method Details
-
of
public static HttpMethodHandler of(io.vavr.collection.Map<HttpMethod, io.undertow.server.HttpHandler> handlers) -
add
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-