public abstract class AbstractRestProcessor extends AbstractSalesforceProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static String |
RESPONSE_CLASS |
endpoint, endpointConfigMap, httpClient, IGNORE_BODY, IS_OPTIONAL, log, NOT_OPTIONAL, operationName, session, USE_BODY| Constructor and Description |
|---|
AbstractRestProcessor(SalesforceEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract InputStream |
getRequestStream(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected abstract void |
processRequest(org.apache.camel.Exchange exchange) |
protected abstract void |
processResponse(org.apache.camel.Exchange exchange,
InputStream responseEntity,
SalesforceException ex,
org.apache.camel.AsyncCallback callback) |
void |
start() |
void |
stop() |
getParameterprotected static final String RESPONSE_CLASS
public AbstractRestProcessor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceExceptionpublic final boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface SalesforceProcessorprocess in class AbstractSalesforceProcessorprotected abstract void processRequest(org.apache.camel.Exchange exchange)
throws SalesforceException
SalesforceExceptionprotected abstract InputStream getRequestStream(org.apache.camel.Exchange exchange) throws SalesforceException
SalesforceExceptionprotected abstract void processResponse(org.apache.camel.Exchange exchange,
InputStream responseEntity,
SalesforceException ex,
org.apache.camel.AsyncCallback callback)
Apache Camel