public class XmlRestProcessor extends AbstractRestProcessor
RESPONSE_CLASS
endpoint, endpointConfigMap, httpClient, IGNORE_BODY, IS_OPTIONAL, log, NOT_OPTIONAL, operationName, rawPayload, session, USE_BODY
Constructor and Description |
---|
XmlRestProcessor(SalesforceEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
getRequestStream(org.apache.camel.Exchange exchange) |
protected InputStream |
getRequestStream(org.apache.camel.Message in,
Object object)
Returns
InputStream to serialized form of the given object. |
protected void |
processRequest(org.apache.camel.Exchange exchange) |
protected void |
processResponse(org.apache.camel.Exchange exchange,
InputStream responseEntity,
Map<String,String> headers,
SalesforceException exception,
org.apache.camel.AsyncCallback callback) |
process, start, stop
getParameter, getParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
determineHeaders
public XmlRestProcessor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceException
protected void processRequest(org.apache.camel.Exchange exchange) throws SalesforceException
processRequest
in class AbstractRestProcessor
SalesforceException
protected InputStream getRequestStream(org.apache.camel.Exchange exchange) throws SalesforceException
getRequestStream
in class AbstractRestProcessor
SalesforceException
protected InputStream getRequestStream(org.apache.camel.Message in, Object object) throws SalesforceException
AbstractRestProcessor
InputStream
to serialized form of the given object.getRequestStream
in class AbstractRestProcessor
object
- object to serializeSalesforceException
protected void processResponse(org.apache.camel.Exchange exchange, InputStream responseEntity, Map<String,String> headers, SalesforceException exception, org.apache.camel.AsyncCallback callback)
processResponse
in class AbstractRestProcessor
Apache Camel