public class JsonRestProcessor extends AbstractRestProcessor
RESPONSE_CLASSendpoint, endpointConfigMap, httpClient, IGNORE_BODY, IS_OPTIONAL, log, NOT_OPTIONAL, operationName, rawPayload, session, USE_BODY| Constructor and Description |
|---|
JsonRestProcessor(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 ex,
org.apache.camel.AsyncCallback callback) |
process, start, stopgetParameter, getParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetermineHeaderspublic JsonRestProcessor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceExceptionprotected void processRequest(org.apache.camel.Exchange exchange)
throws SalesforceException
processRequest in class AbstractRestProcessorSalesforceExceptionprotected InputStream getRequestStream(org.apache.camel.Exchange exchange) throws SalesforceException
getRequestStream in class AbstractRestProcessorSalesforceExceptionprotected InputStream getRequestStream(org.apache.camel.Message in, Object object) throws SalesforceException
AbstractRestProcessorInputStream to serialized form of the given object.getRequestStream in class AbstractRestProcessorobject - object to serializeSalesforceExceptionprotected void processResponse(org.apache.camel.Exchange exchange,
InputStream responseEntity,
Map<String,String> headers,
SalesforceException ex,
org.apache.camel.AsyncCallback callback)
processResponse in class AbstractRestProcessorApache Camel