org.mule.transport.http
Class HttpMessageAdapter
java.lang.Object
org.mule.transport.AbstractMessageAdapter
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
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, 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 |
HttpMessageAdapter
public HttpMessageAdapter(Object message)
HttpMessageAdapter
protected HttpMessageAdapter(HttpMessageAdapter template)
getPayload
public Object getPayload()
- Returns:
- the current message
getProperty
public Object getProperty(String key)
- Description copied from class:
AbstractMessageAdapter
- Gets a property of the message implementation
- Specified by:
getProperty
in interface MessageAdapter
- Overrides:
getProperty
in class AbstractMessageAdapter
- Parameters:
key
- the key on which to lookup the property value
- Returns:
- the property value or null if the property does not exist
getHeader
public Header getHeader(String name)
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.
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.