public interface RawClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RawClient.ResponseCallback |
| Modifier and Type | Method and Description |
|---|---|
void |
makeRequest(String method,
String path,
PayloadFormat format,
InputStream body,
Map<String,List<String>> headers,
RawClient.ResponseCallback callback)
Make a raw HTTP request to salesforce
|
void makeRequest(String method, String path, PayloadFormat format, InputStream body, Map<String,List<String>> headers, RawClient.ResponseCallback callback)
method - HTTP method. "GET", "POST", etc.path - the path of the URL. Must begin with a "/"body - Optional HTTP bodyheaders - HTTP headerscallback - callback instance that will be invoked when the HTTP call returnsApache Camel