public class HttpMessageAdapter extends AbstractMessageAdapter
HttpMessageAdapter
Wraps an incoming Http Request making the
payload and headers available as standard message adapter.ThreadSafeAccess.AccessControl
attachments, encoding, exceptionPayload, id, logger, properties
READ, WRITE
Modifier | Constructor and Description |
---|---|
protected |
HttpMessageAdapter(HttpMessageAdapter template) |
|
HttpMessageAdapter(Object message) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.httpclient.Header |
getHeader(String name) |
Object |
getPayload() |
Object |
getProperty(String key)
Gets a property of the message implementation
|
ThreadSafeAccess |
newThreadCopy() |
addAttachment, addInboundProperties, addProperties, 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
public HttpMessageAdapter(Object message)
protected HttpMessageAdapter(HttpMessageAdapter template)
public Object getPayload()
public Object getProperty(String key)
AbstractMessageAdapter
getProperty
in interface MessageAdapter
getProperty
in class AbstractMessageAdapter
key
- the key on which to lookup the property valuepublic org.apache.commons.httpclient.Header getHeader(String name)
public ThreadSafeAccess newThreadCopy()
AbstractMessageAdapter
newThreadCopy
in interface ThreadSafeAccess
newThreadCopy
in class AbstractMessageAdapter
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.