java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.handler.HttpMethodHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class HttpMethodHandler extends Object implements io.undertow.server.HttpHandler
TODO JavaDoc
  • Method Details

    • of

      public static HttpMethodHandler of(io.vavr.collection.Map<HttpMethod,io.undertow.server.HttpHandler> handlers)
    • add

      public HttpMethodHandler add(HttpMethod method, io.undertow.server.HttpHandler handler)
    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Throws:
      Exception