public class NettyHttpMessage
extends org.apache.camel.support.DefaultMessage
Message
.
This implementation allows direct access to the Netty FullHttpRequest
using
the getHttpRequest()
method.Constructor and Description |
---|
NettyHttpMessage(org.apache.camel.CamelContext camelContext,
io.netty.handler.codec.http.FullHttpRequest httpRequest,
io.netty.handler.codec.http.FullHttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
io.netty.handler.codec.http.FullHttpRequest |
getHttpRequest() |
io.netty.handler.codec.http.FullHttpResponse |
getHttpResponse() |
org.apache.camel.support.DefaultMessage |
newInstance() |
createHeaders, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasHeaders, hasPopulatedHeaders, isTransactedRedelivered, populateInitialHeaders, removeHeader, removeHeaders, removeHeaders, setHeader, setHeaders
copy, copyFrom, copyFromWithNewBody, createBody, createMessageId, getBody, getBody, getBody, getCamelContext, getDataType, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, hasDataType, setBody, setBody, setBody, setCamelContext, setDataType, setExchange, setMessageId, toString
public NettyHttpMessage(org.apache.camel.CamelContext camelContext, io.netty.handler.codec.http.FullHttpRequest httpRequest, io.netty.handler.codec.http.FullHttpResponse httpResponse)
public io.netty.handler.codec.http.FullHttpRequest getHttpRequest()
public io.netty.handler.codec.http.FullHttpResponse getHttpResponse()
public org.apache.camel.support.DefaultMessage newInstance()
newInstance
in class org.apache.camel.support.DefaultMessage
Apache Camel