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, toNettyResponse
public RestNettyHttpBinding()
public RestNettyHttpBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
public RestNettyHttpBinding copy()
copy
in class DefaultNettyHttpBinding
public void populateCamelHeaders(org.jboss.netty.handler.codec.http.HttpRequest request, Map<String,Object> headers, org.apache.camel.Exchange exchange, NettyHttpConfiguration configuration) throws Exception
NettyHttpBinding
HttpRequest
to Camel headers as a Map
.populateCamelHeaders
in interface NettyHttpBinding
populateCamelHeaders
in class DefaultNettyHttpBinding
request
- 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