Interface RawClient
- All Known Implementing Classes:
DefaultRawClient
public interface RawClient
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidmakeRequest(String method, String path, PayloadFormat format, InputStream body, Map<String, List<String>> headers, RawClient.ResponseCallback callback) Make a raw HTTP request to salesforce
-
Method Details
-
makeRequest
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- Parameters:
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 returns
-