Package | Description |
---|---|
com.salesforce.androidsdk.rest |
Modifier and Type | Method and Description |
---|---|
RestRequest.RestMethod |
RestRequest.getMethod() |
static RestRequest.RestMethod |
RestRequest.RestMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RestRequest.RestMethod[] |
RestRequest.RestMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
RestRequest(RestRequest.RestMethod method,
RestRequest.RestEndpoint endpoint,
java.lang.String path,
JSONObject requestBodyAsJson,
java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders)
Generic constructor for arbitrary requests.
|
RestRequest(RestRequest.RestMethod method,
RestRequest.RestEndpoint endpoint,
java.lang.String path,
RequestBody requestBody,
java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders)
Generic constructor for arbitrary requests.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path)
Generic constructor for arbitrary requests without a body.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path,
JSONObject requestBodyAsJson)
Generic constructor for arbitrary requests.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path,
JSONObject requestBodyAsJson,
java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders)
Generic constructor for arbitrary requests.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders)
Generic constructor for arbitrary requests without a body.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path,
RequestBody requestBody)
Generic constructor for arbitrary requests.
|
RestRequest(RestRequest.RestMethod method,
java.lang.String path,
RequestBody requestBody,
java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders)
Generic constructor for arbitrary requests.
|