org.mule.transport.http
Class HttpMessageAdapter
java.lang.Object
org.mule.transport.AbstractMessageAdapter
org.mule.transport.http.HttpMessageAdapter
- All Implemented Interfaces:
- Serializable, ThreadSafeAccess, MessageAdapter, MessageAdapterSerialization
public class HttpMessageAdapter
- extends AbstractMessageAdapter
- implements MessageAdapterSerialization
HttpMessageAdapter Wraps an incoming Http Request making the
payload and headers available as standard message adapter.
- See Also:
- Serialized Form
| Methods inherited from class org.mule.transport.AbstractMessageAdapter |
addAttachment, addInboundProperties, addProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getProperty, getProperty, getPropertyNames, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setReplyTo, setStringProperty, toString |
http11
protected boolean http11
message
protected Object message
HttpMessageAdapter
public HttpMessageAdapter(Object message)
HttpMessageAdapter
protected HttpMessageAdapter(HttpMessageAdapter template)
getPayload
public Object getPayload()
- Specified by:
getPayload in interface MessageAdapter
- Returns:
- the current message
getHeader
@Deprecated
public Header getHeader(String name)
- Deprecated. use getStringProperty
newThreadCopy
public ThreadSafeAccess newThreadCopy()
- Description copied from class:
AbstractMessageAdapter
-
- Specified by:
newThreadCopy in interface ThreadSafeAccess- Overrides:
newThreadCopy in class AbstractMessageAdapter
- Returns:
- A new instance of the implementing class, unbound to any thread and mutable.
getPayloadForSerialization
public byte[] getPayloadForSerialization()
throws Exception
- Specified by:
getPayloadForSerialization in interface MessageAdapterSerialization
- Returns:
- The payload of this MessageAdapter as bytes.
- Throws:
Exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.