java.lang.Object
org.apache.camel.component.undertow.handlers.CamelMethodHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class CamelMethodHandler
extends Object
implements io.undertow.server.HttpHandler
A HttpHandler build a mapping between HTTP methods and handlers and dispatch requests along the map.
-
Method Summary
io.undertow.server.HttpHandler
add(String methods,
io.undertow.server.HttpHandler handler)
void
boolean
-
Method Details
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
- Specified by:
handleRequest in interface io.undertow.server.HttpHandler
- Throws:
Exception
-
add
public io.undertow.server.HttpHandler add(String methods,
io.undertow.server.HttpHandler handler)
-
remove
public boolean remove(String methods)
-