public class ObjectToHttpClientMethodRequest extends AbstractMessageAwareTransformer
ObjectToHttpClientMethodRequest transforms a MuleMessage into a
HttpClient HttpMethod that represents an HttpRequest.DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypesPHASE_NAME| Constructor and Description |
|---|
ObjectToHttpClientMethodRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addParameters(String queryString,
org.apache.commons.httpclient.methods.PostMethod postMethod,
MuleMessage msg) |
protected String |
paramToString(Object param) |
protected void |
setHeaders(org.apache.commons.httpclient.HttpMethod httpMethod,
MuleMessage msg) |
protected void |
setupEntityMethod(Object src,
String encoding,
MuleMessage msg,
URI uri,
org.apache.commons.httpclient.methods.EntityEnclosingMethod postMethod) |
Object |
transform(MuleMessage msg,
String outputEncoding) |
doTransform, isSourceTypeSupportedcheckReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceTypeprotected int addParameters(String queryString, org.apache.commons.httpclient.methods.PostMethod postMethod, MuleMessage msg)
public Object transform(MuleMessage msg, String outputEncoding) throws TransformerException
transform in class AbstractMessageAwareTransformerTransformerExceptionprotected void setupEntityMethod(Object src, String encoding, MuleMessage msg, URI uri, org.apache.commons.httpclient.methods.EntityEnclosingMethod postMethod) throws UnsupportedEncodingException, TransformerException
protected void setHeaders(org.apache.commons.httpclient.HttpMethod httpMethod,
MuleMessage msg)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.