Package | Description |
---|---|
com.salesforce.androidsdk.rest |
Modifier and Type | Method and Description |
---|---|
RestRequest.RestEndpoint |
RestRequest.getEndpoint() |
static RestRequest.RestEndpoint |
RestRequest.RestEndpoint.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RestRequest.RestEndpoint[] |
RestRequest.RestEndpoint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.net.URI |
RestClient.ClientInfo.resolveUrl(java.lang.String path,
RestRequest.RestEndpoint endpoint)
Resolves the given path against the community URL, login URL, or instance
URL.
|
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.
|