org.mule.providers.http.servlet
Class HttpRequestMessageAdapter

java.lang.Object
  extended byorg.mule.providers.AbstractMessageAdapter
      extended byorg.mule.providers.http.servlet.HttpRequestMessageAdapter
All Implemented Interfaces:
Serializable, org.mule.impl.ThreadSafeAccess, org.mule.umo.provider.UMOMessageAdapter

public class HttpRequestMessageAdapter
extends org.mule.providers.AbstractMessageAdapter

HttpRequestMessageAdapter is a Mule message adapter for javax.servletHttpServletRequest objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageAdapter
attachments, DEFAULT_FAILFAST, encoding, exceptionPayload, id, logger, properties
 
Fields inherited from interface org.mule.impl.ThreadSafeAccess
READ, WRITE
 
Constructor Summary
protected HttpRequestMessageAdapter(HttpRequestMessageAdapter template)
           
  HttpRequestMessageAdapter(Object message)
           
 
Method Summary
 Object getPayload()
           
 Object getReplyTo()
          Sets a replyTo address for this message.
 HttpServletRequest getRequest()
           
 String getUniqueId()
           
 boolean isBinary()
           
 org.mule.impl.ThreadSafeAccess newThreadCopy()
           
 void setReplyTo(Object replyTo)
          Sets a replyTo address for this message.
 
Methods inherited from class org.mule.providers.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpRequestMessageAdapter

public HttpRequestMessageAdapter(Object message)
                          throws org.mule.umo.MessagingException

HttpRequestMessageAdapter

protected HttpRequestMessageAdapter(HttpRequestMessageAdapter template)
Method Detail

getPayload

public Object getPayload()

isBinary

public boolean isBinary()

getRequest

public HttpServletRequest getRequest()

getUniqueId

public String getUniqueId()

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.

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.

Returns:
the endpointUri url to reply to or null if one has not been set

newThreadCopy

public org.mule.impl.ThreadSafeAccess newThreadCopy()


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