public class HttpMuleMessageFactory extends AbstractMuleMessageFactory
muleContext
Constructor and Description |
---|
HttpMuleMessageFactory() |
HttpMuleMessageFactory(MuleContext context)
Deprecated.
use
HttpMuleMessageFactory() instead |
Modifier and Type | Method and Description |
---|---|
protected void |
addProperties(DefaultMuleMessage message,
Object transportMessage) |
protected void |
addUriParamsAsHeaders(Map headers,
String uri) |
protected void |
convertMultiPartHeaders(Map<String,Object> headers) |
protected Object |
extractPayload(Object transportMessage,
String encoding) |
protected Object |
extractPayloadFromHttpMethod(HttpMethod httpMethod) |
protected Object |
extractPayloadFromHttpRequest(HttpRequest httpRequest) |
protected Class<?>[] |
getSupportedTransportMessageTypes() |
protected Map<String,Object> |
processIncomingHeaders(Map<String,Object> headers) |
protected Map<String,Object> |
processQueryParams(String uri,
String encoding) |
void |
setCookieSpec(String cookieSpec) |
void |
setEnableCookies(boolean enableCookies) |
void |
setExchangePattern(MessageExchangePattern mep) |
addAttachments, create, create, create, create, getMimeType
public HttpMuleMessageFactory()
@Deprecated public HttpMuleMessageFactory(MuleContext context)
HttpMuleMessageFactory()
insteadprotected Class<?>[] getSupportedTransportMessageTypes()
getSupportedTransportMessageTypes
in class AbstractMuleMessageFactory
protected Object extractPayload(Object transportMessage, String encoding) throws Exception
extractPayload
in class AbstractMuleMessageFactory
Exception
protected Object extractPayloadFromHttpRequest(HttpRequest httpRequest) throws IOException
IOException
protected Object extractPayloadFromHttpMethod(HttpMethod httpMethod) throws IOException
IOException
protected void addProperties(DefaultMuleMessage message, Object transportMessage) throws Exception
addProperties
in class AbstractMuleMessageFactory
Exception
protected Map<String,Object> processIncomingHeaders(Map<String,Object> headers) throws Exception
Exception
protected Map<String,Object> processQueryParams(String uri, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public void setEnableCookies(boolean enableCookies)
public void setCookieSpec(String cookieSpec)
public void setExchangePattern(MessageExchangePattern mep)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.