public class RestRootHandler extends Object implements io.undertow.server.HttpHandler
CamelRootHandler| Constructor and Description |
|---|
RestRootHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumer(UndertowConsumer consumer)
Adds the given consumer.
|
int |
consumers()
Number of active consumers
|
void |
handleRequest(io.undertow.server.HttpServerExchange httpServerExchange) |
void |
init(int port)
Initializes this handler with the given port.
|
void |
removeConsumer(UndertowConsumer consumer)
Removes the given consumer
|
public void init(int port)
public void addConsumer(UndertowConsumer consumer)
public void removeConsumer(UndertowConsumer consumer)
public int consumers()
Apache Camel