public class SalesforceResponse extends Object
SalesforceResponse
is a wrapper over the data returned by Salesforce on executing any request to
Salesforce.Constructor and Description |
---|
SalesforceResponse() |
SalesforceResponse(Integer code,
String body) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAccessTokenUpdated() |
String |
getBody() |
JSONObject |
getBodyAsJSON()
Converts the JSON format returned from SF into an JSON Object.
|
Integer |
getCode() |
void |
setAccessTokenUpdated(Boolean accessTokenUpdated) |
void |
setBody(String body) |
void |
setCode(Integer code) |
public String getBody()
public void setBody(String body)
public Integer getCode()
public void setCode(Integer code)
public Boolean getAccessTokenUpdated()
public void setAccessTokenUpdated(Boolean accessTokenUpdated)
public JSONObject getBodyAsJSON() throws JSONException
JSONException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"