public class RestNettyHttpBinding extends DefaultNettyHttpBinding
NettyHttpBinding that supports the Rest DSL.| Constructor and Description |
|---|
RestNettyHttpBinding() |
RestNettyHttpBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
| Modifier and Type | Method and Description |
|---|---|
RestNettyHttpBinding |
copy() |
void |
populateCamelHeaders(org.jboss.netty.handler.codec.http.HttpRequest request,
Map<String,Object> headers,
org.apache.camel.Exchange exchange,
NettyHttpConfiguration configuration)
Binds from Netty
HttpRequest to Camel headers as a Map. |
getHeaderFilterStrategy, populateCamelHeaders, setHeaderFilterStrategy, shouldUrlDecodeHeader, toCamelMessage, toCamelMessage, toNettyRequest, toNettyResponsepublic RestNettyHttpBinding()
public RestNettyHttpBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
public RestNettyHttpBinding copy()
copy in class DefaultNettyHttpBindingpublic void populateCamelHeaders(org.jboss.netty.handler.codec.http.HttpRequest request,
Map<String,Object> headers,
org.apache.camel.Exchange exchange,
NettyHttpConfiguration configuration)
throws Exception
NettyHttpBindingHttpRequest to Camel headers as a Map.populateCamelHeaders in interface NettyHttpBindingpopulateCamelHeaders in class DefaultNettyHttpBindingrequest - the netty http requestheaders - the Camel headers that should be populatedexchange - the exchange that should contain the returned message.configuration - the endpoint configurationException - is thrown if error during bindingApache Camel