org.mule.transport.http
Class HttpMuleMessageFactory
java.lang.Object
org.mule.transport.AbstractMuleMessageFactory
org.mule.transport.http.HttpMuleMessageFactory
- All Implemented Interfaces:
- org.mule.api.transport.MuleMessageFactory
- Direct Known Subclasses:
- HttpMultipartMuleMessageFactory
public class HttpMuleMessageFactory
- extends org.mule.transport.AbstractMuleMessageFactory
| Fields inherited from class org.mule.transport.AbstractMuleMessageFactory |
muleContext |
| Methods inherited from class org.mule.transport.AbstractMuleMessageFactory |
addAttachments, create, create, create, create |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMuleMessageFactory
public HttpMuleMessageFactory()
HttpMuleMessageFactory
@Deprecated
public HttpMuleMessageFactory(org.mule.api.MuleContext context)
- Deprecated. use
HttpMuleMessageFactory() instead
getSupportedTransportMessageTypes
protected Class<?>[] getSupportedTransportMessageTypes()
- Specified by:
getSupportedTransportMessageTypes in class org.mule.transport.AbstractMuleMessageFactory
extractPayload
protected Object extractPayload(Object transportMessage,
String encoding)
throws Exception
- Specified by:
extractPayload in class org.mule.transport.AbstractMuleMessageFactory
- Throws:
Exception
extractPayloadFromHttpRequest
protected Object extractPayloadFromHttpRequest(HttpRequest httpRequest)
throws IOException
- Throws:
IOException
extractPayloadFromHttpMethod
protected Object extractPayloadFromHttpMethod(org.apache.commons.httpclient.HttpMethod httpMethod)
throws IOException
- Throws:
IOException
addProperties
protected void addProperties(org.mule.DefaultMuleMessage message,
Object transportMessage)
throws Exception
- Overrides:
addProperties in class org.mule.transport.AbstractMuleMessageFactory
- Throws:
Exception
processIncomingHeaders
protected Map<String,Object> processIncomingHeaders(Map<String,Object> headers)
throws Exception
- Throws:
Exception
addUriParamsAsHeaders
protected void addUriParamsAsHeaders(Map headers,
String uri)
processQueryParams
protected Map<String,Object> processQueryParams(String uri,
String encoding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
convertMultiPartHeaders
protected void convertMultiPartHeaders(Map<String,Object> headers)
setEnableCookies
public void setEnableCookies(boolean enableCookies)
setCookieSpec
public void setCookieSpec(String cookieSpec)
setExchangePattern
public void setExchangePattern(org.mule.MessageExchangePattern mep)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.