org.mule.transport.http
Class HttpMuleMessageFactory
java.lang.Object
org.mule.transport.AbstractMuleMessageFactory
org.mule.transport.http.HttpMuleMessageFactory
- All Implemented Interfaces:
- MuleMessageFactory
- Direct Known Subclasses:
- HttpMultipartMuleMessageFactory
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 Class<?>[] getSupportedTransportMessageTypes()
- Specified by:
getSupportedTransportMessageTypes
in class AbstractMuleMessageFactory
extractPayload
protected Object extractPayload(Object transportMessage,
String encoding)
throws Exception
- Specified by:
extractPayload
in class AbstractMuleMessageFactory
- Throws:
Exception
extractPayloadFromHttpRequest
protected Object extractPayloadFromHttpRequest(HttpRequest httpRequest)
throws IOException
- Throws:
IOException
extractPayloadFromHttpMethod
protected Object extractPayloadFromHttpMethod(HttpMethod httpMethod)
throws IOException
- Throws:
IOException
addProperties
protected void addProperties(DefaultMuleMessage message,
Object transportMessage)
throws Exception
- Overrides:
addProperties
in class 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(MessageExchangePattern mep)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.