org.apache.camel.component.netty.http
Class NettyHttpMessage

java.lang.Object
  extended by org.apache.camel.impl.MessageSupport
      extended by org.apache.camel.impl.DefaultMessage
          extended by org.apache.camel.component.netty.http.NettyHttpMessage
All Implemented Interfaces:
org.apache.camel.Message

public class NettyHttpMessage
extends org.apache.camel.impl.DefaultMessage

Netty HTTP based Message.

This implementation allows direct access to the Netty HttpRequest using the getHttpRequest() method.


Constructor Summary
NettyHttpMessage(org.jboss.netty.handler.codec.http.HttpRequest httpRequest, org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
           
 
Method Summary
 org.jboss.netty.handler.codec.http.HttpRequest getHttpRequest()
           
 org.jboss.netty.handler.codec.http.HttpResponse getHttpResponse()
           
 org.apache.camel.impl.DefaultMessage newInstance()
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
addAttachment, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachments, setFault, setHeader, setHeaders, toString
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, copyFrom, createBody, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NettyHttpMessage

public NettyHttpMessage(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
                        org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
Method Detail

getHttpRequest

public org.jboss.netty.handler.codec.http.HttpRequest getHttpRequest()

getHttpResponse

public org.jboss.netty.handler.codec.http.HttpResponse getHttpResponse()

newInstance

public org.apache.camel.impl.DefaultMessage newInstance()
Overrides:
newInstance in class org.apache.camel.impl.DefaultMessage


Apache Camel