org.mule.transport.http
Class HttpMessageAdapter

java.lang.Object
  extended by org.mule.transport.AbstractMessageAdapter
      extended by org.mule.transport.http.HttpMessageAdapter
All Implemented Interfaces:
Serializable, ThreadSafeAccess, MessageAdapter

public class HttpMessageAdapter
extends AbstractMessageAdapter

HttpMessageAdapter Wraps an incoming Http Request making the payload and headers available as standard message adapter.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mule.transport.AbstractMessageAdapter
attachments, encoding, exceptionPayload, id, logger, properties
 
Fields inherited from interface org.mule.api.ThreadSafeAccess
READ, WRITE
 
Constructor Summary
protected HttpMessageAdapter(HttpMessageAdapter template)
           
  HttpMessageAdapter(Object message)
           
 
Method Summary
 Header getHeader(String name)
           
 Object getPayload()
           
 Object getProperty(String key)
           
 ThreadSafeAccess newThreadCopy()
           
 
Methods inherited from class org.mule.transport.AbstractMessageAdapter
addAttachment, addInboundProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setReplyTo, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpMessageAdapter

public HttpMessageAdapter(Object message)

HttpMessageAdapter

protected HttpMessageAdapter(HttpMessageAdapter template)
Method Detail

getPayload

public Object getPayload()
Returns:
the current message

getProperty

public Object getProperty(String key)
Specified by:
getProperty in interface MessageAdapter
Overrides:
getProperty in class AbstractMessageAdapter

getHeader

public Header getHeader(String name)

newThreadCopy

public ThreadSafeAccess newThreadCopy()
Specified by:
newThreadCopy in interface ThreadSafeAccess
Overrides:
newThreadCopy in class AbstractMessageAdapter


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.