org.mule.providers.http
Class HttpStreamMessageAdapter

java.lang.Object
  extended byorg.mule.providers.AbstractMessageAdapter
      extended byorg.mule.providers.streaming.StreamMessageAdapter
          extended byorg.mule.providers.http.HttpStreamMessageAdapter
All Implemented Interfaces:
Serializable, org.mule.umo.provider.UMOMessageAdapter, org.mule.umo.provider.UMOStreamMessageAdapter

public class HttpStreamMessageAdapter
extends org.mule.providers.streaming.StreamMessageAdapter

A HttpStream adapter that can be used with the HttpClientMessageDispatcher who knows when to release the Http Connection.

See Also:
Serialized Form

Field Summary
protected  org.apache.commons.httpclient.HttpMethod httpMethod
           
 
Fields inherited from class org.mule.providers.streaming.StreamMessageAdapter
handler, in, out, response
 
Fields inherited from class org.mule.providers.AbstractMessageAdapter
attachments, encoding, exceptionPayload, id, logger, properties
 
Constructor Summary
HttpStreamMessageAdapter(InputStream in)
           
HttpStreamMessageAdapter(InputStream in, OutputStream out)
           
HttpStreamMessageAdapter(InputStream in, OutputStream out, org.mule.umo.provider.OutputHandler handler)
           
HttpStreamMessageAdapter(org.mule.umo.provider.OutputHandler handler)
           
HttpStreamMessageAdapter(OutputStream out, org.mule.umo.provider.OutputHandler handler)
           
 
Method Summary
 org.apache.commons.httpclient.HttpMethod getHttpMethod()
           
 void release()
           
 void setHttpMethod(org.apache.commons.httpclient.HttpMethod httpMethod)
           
 
Methods inherited from class org.mule.providers.streaming.StreamMessageAdapter
getInputStream, getOutputHandler, getOutputStream, getPayload, getPayloadAsBytes, getPayloadAsString, setOutputHandler, write
 
Methods inherited from class org.mule.providers.AbstractMessageAdapter
addAttachment, addProperties, clearProperties, convertToBytes, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getPayloadAsString, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, removeAttachment, removeProperty, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setReplyTo, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.umo.provider.UMOMessageAdapter
addAttachment, addProperties, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getPayloadAsString, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, removeAttachment, removeProperty, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setReplyTo, setStringProperty
 

Field Detail

httpMethod

protected volatile org.apache.commons.httpclient.HttpMethod httpMethod
Constructor Detail

HttpStreamMessageAdapter

public HttpStreamMessageAdapter(InputStream in)

HttpStreamMessageAdapter

public HttpStreamMessageAdapter(InputStream in,
                                OutputStream out)

HttpStreamMessageAdapter

public HttpStreamMessageAdapter(org.mule.umo.provider.OutputHandler handler)

HttpStreamMessageAdapter

public HttpStreamMessageAdapter(OutputStream out,
                                org.mule.umo.provider.OutputHandler handler)

HttpStreamMessageAdapter

public HttpStreamMessageAdapter(InputStream in,
                                OutputStream out,
                                org.mule.umo.provider.OutputHandler handler)
Method Detail

getHttpMethod

public org.apache.commons.httpclient.HttpMethod getHttpMethod()

setHttpMethod

public void setHttpMethod(org.apache.commons.httpclient.HttpMethod httpMethod)

release

public void release()


Copyright © 2003-2006 SymphonySoft Limited. All Rights Reserved.