org.mule.transport.http
Class HttpMuleMessageFactory
java.lang.Object
org.mule.transport.AbstractMuleMessageFactory
org.mule.transport.http.HttpMuleMessageFactory
- All Implemented Interfaces:
- MuleMessageFactory
public class HttpMuleMessageFactory
- extends AbstractMuleMessageFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMuleMessageFactory
public HttpMuleMessageFactory(MuleContext context)
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.