org.mule.transport.http.servlet
Class HttpRequestMessageAdapter
java.lang.Object
org.mule.transport.AbstractMessageAdapter
org.mule.transport.http.servlet.HttpRequestMessageAdapter
- All Implemented Interfaces:
- Serializable, ThreadSafeAccess, MessageAdapter
public class HttpRequestMessageAdapter
- extends AbstractMessageAdapter
HttpRequestMessageAdapter is a Mule message adapter for
javax.servletHttpServletRequest objects.
- See Also:
- Serialized Form
| 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, getProperty, getPropertyNames, getStringProperty, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setStringProperty, toString |
HttpRequestMessageAdapter
public HttpRequestMessageAdapter(Object message)
throws MessagingException
- Throws:
MessagingException
HttpRequestMessageAdapter
protected HttpRequestMessageAdapter(HttpRequestMessageAdapter template)
getPayload
public Object getPayload()
isBinary
public boolean isBinary()
getRequest
public HttpServletRequest getRequest()
getUniqueId
public String getUniqueId()
- Specified by:
getUniqueId in interface MessageAdapter- Overrides:
getUniqueId in class AbstractMessageAdapter
setReplyTo
public void setReplyTo(Object replyTo)
- Sets a replyTo address for this message. This is useful in an asynchronous
environment where the caller doesn't wait for a response and the response
needs to be routed somewhere for further processing. The value of this field
can be any valid endpointUri url.
- Specified by:
setReplyTo in interface MessageAdapter- Overrides:
setReplyTo in class AbstractMessageAdapter
- Parameters:
replyTo - the endpointUri url to reply to
getReplyTo
public Object getReplyTo()
- Sets a replyTo address for this message. This is useful in an asynchronous
environment where the caller doesn't wait for a response and the response
needs to be routed somewhere for further processing. The value of this field
can be any valid endpointUri url.
- Specified by:
getReplyTo in interface MessageAdapter- Overrides:
getReplyTo in class AbstractMessageAdapter
- Returns:
- the endpointUri url to reply to or null if one has not been set
newThreadCopy
public ThreadSafeAccess newThreadCopy()
- Specified by:
newThreadCopy in interface ThreadSafeAccess- Overrides:
newThreadCopy in class AbstractMessageAdapter
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.