Class CamelMethodHandler
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.undertow.server.HttpHandler
add(String methods, io.undertow.server.HttpHandler handler)
void
handleRequest(io.undertow.server.HttpServerExchange exchange)
boolean
remove(String methods)
String
toString()
-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
- Specified by:
handleRequest
in interfaceio.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)
-
-