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.HttpHandleradd(String methods, io.undertow.server.HttpHandler handler)voidhandleRequest(io.undertow.server.HttpServerExchange exchange)booleanremove(String methods)StringtoString()
-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handleRequestin 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)
-
-