|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.feedhenry.sdk.FHResponse
public class FHResponse
Representing the response data from FeedHenry when an API call is finished
| Constructor Summary | |
|---|---|
FHResponse(JSONObject pResults,
JSONArray pResultArray,
java.lang.Throwable e,
java.lang.String pError)
|
|
| Method Summary | |
|---|---|
JSONArray |
getArray()
Get the response data as JSONArray |
java.lang.Throwable |
getError()
Get the error |
java.lang.String |
getErrorMessage()
Get the error message |
JSONObject |
getJson()
Get the response data as JSONObject |
java.lang.String |
getRawResponse()
Get the raw response content |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FHResponse(JSONObject pResults,
JSONArray pResultArray,
java.lang.Throwable e,
java.lang.String pError)
| Method Detail |
|---|
public JSONObject getJson()
public JSONArray getArray()
public java.lang.Throwable getError()
public java.lang.String getErrorMessage()
public java.lang.String getRawResponse()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||