public class NettyHttpMessage
extends org.apache.camel.impl.DefaultMessage
Message
.
This implementation allows direct access to the Netty FullHttpRequest
using
the getHttpRequest()
method.Constructor and Description |
---|
NettyHttpMessage(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.impl.DefaultMessage |
newInstance() |
addAttachment, addAttachmentObject, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachmentObject, getAttachmentObjects, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachmentObjects, setAttachments, setFault, setHeader, setHeaders
public NettyHttpMessage(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.impl.DefaultMessage newInstance()
newInstance
in class org.apache.camel.impl.DefaultMessage
Apache Camel