org.mule.transport.http
Class HttpMuleMessageFactory

java.lang.Object
  extended by org.mule.transport.AbstractMuleMessageFactory
      extended by org.mule.transport.http.HttpMuleMessageFactory
All Implemented Interfaces:
MuleMessageFactory

public class HttpMuleMessageFactory
extends AbstractMuleMessageFactory


Field Summary
 
Fields inherited from class org.mule.transport.AbstractMuleMessageFactory
muleContext
 
Constructor Summary
HttpMuleMessageFactory(MuleContext context)
           
 
Method Summary
protected  void addAttachments(DefaultMuleMessage message, java.lang.Object transportMessage)
           
protected  void addProperties(DefaultMuleMessage message, java.lang.Object transportMessage)
           
protected  void addUriParamsAsHeaders(java.util.Map headers, java.lang.String uri)
           
protected  void convertMultiPartHeaders(java.util.Map headers)
           
protected  java.lang.Object extractPayload(java.lang.Object transportMessage, java.lang.String encoding)
           
protected  java.lang.Object extractPayloadFromHttpMethod(HttpMethod httpMethod)
           
protected  java.lang.Object extractPayloadFromHttpRequest(HttpRequest httpRequest)
           
protected  java.lang.Class<?>[] getSupportedTransportMessageTypes()
           
protected  java.util.Map<java.lang.String,java.lang.Object> processIncomingHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
           
 void setCookieSpec(java.lang.String cookieSpec)
           
 void setEnableCookies(boolean enableCookies)
           
 void setExchangePattern(MessageExchangePattern mep)
           
 
Methods inherited from class org.mule.transport.AbstractMuleMessageFactory
create, create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMuleMessageFactory

public HttpMuleMessageFactory(MuleContext context)
Method Detail

getSupportedTransportMessageTypes

protected java.lang.Class<?>[] getSupportedTransportMessageTypes()
Specified by:
getSupportedTransportMessageTypes in class AbstractMuleMessageFactory

extractPayload

protected java.lang.Object extractPayload(java.lang.Object transportMessage,
                                          java.lang.String encoding)
                                   throws java.lang.Exception
Specified by:
extractPayload in class AbstractMuleMessageFactory
Throws:
java.lang.Exception

extractPayloadFromHttpRequest

protected java.lang.Object extractPayloadFromHttpRequest(HttpRequest httpRequest)
                                                  throws java.io.IOException
Throws:
java.io.IOException

addAttachments

protected void addAttachments(DefaultMuleMessage message,
                              java.lang.Object transportMessage)
                       throws java.lang.Exception
Overrides:
addAttachments in class AbstractMuleMessageFactory
Throws:
java.lang.Exception

extractPayloadFromHttpMethod

protected java.lang.Object extractPayloadFromHttpMethod(HttpMethod httpMethod)
                                                 throws java.io.IOException
Throws:
java.io.IOException

addProperties

protected void addProperties(DefaultMuleMessage message,
                             java.lang.Object transportMessage)
                      throws java.lang.Exception
Overrides:
addProperties in class AbstractMuleMessageFactory
Throws:
java.lang.Exception

processIncomingHeaders

protected java.util.Map<java.lang.String,java.lang.Object> processIncomingHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

addUriParamsAsHeaders

protected void addUriParamsAsHeaders(java.util.Map headers,
                                     java.lang.String uri)

convertMultiPartHeaders

protected void convertMultiPartHeaders(java.util.Map headers)

setEnableCookies

public void setEnableCookies(boolean enableCookies)

setCookieSpec

public void setCookieSpec(java.lang.String cookieSpec)

setExchangePattern

public void setExchangePattern(MessageExchangePattern mep)


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.