public class FHResponse extends Object
| Constructor and Description |
|---|
FHResponse(JSONObject pResults,
JSONArray pResultArray,
Throwable e,
String pError) |
| Modifier and Type | Method and Description |
|---|---|
JSONArray |
getArray()
Gets the response data as a JSONArray.
|
Throwable |
getError()
Gets the error.
|
String |
getErrorMessage()
Gets the error message.
|
JSONObject |
getJson()
Gets the response data as a JSONObject.
|
String |
getRawResponse()
Gets the raw response content.
|
public FHResponse(JSONObject pResults, JSONArray pResultArray, Throwable e, String pError)
public JSONObject getJson()
public JSONArray getArray()
public Throwable getError()
public String getErrorMessage()
public String getRawResponse()
Copyright © 2016 Red Hat. All rights reserved.