Class HttpMethodHandler
- java.lang.Object
-
- ch.raffael.meldioc.library.http.server.undertow.handler.HttpMethodHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class HttpMethodHandler extends java.lang.Object implements io.undertow.server.HttpHandlerTODO JavaDoc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpMethodHandler.Method
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMethodHandleradd(HttpMethodHandler.Method method, io.undertow.server.HttpHandler handler)voidhandleRequest(io.undertow.server.HttpServerExchange exchange)static HttpMethodHandlerof(io.vavr.collection.Map<HttpMethodHandler.Method,io.undertow.server.HttpHandler> handlers)
-
-
-
Method Detail
-
of
public static HttpMethodHandler of(io.vavr.collection.Map<HttpMethodHandler.Method,io.undertow.server.HttpHandler> handlers)
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws java.lang.Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
java.lang.Exception
-
add
public HttpMethodHandler add(HttpMethodHandler.Method method, io.undertow.server.HttpHandler handler)
-
-