final class RawAPIResponseImpl extends java.lang.Object implements RawAPIResponse, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
bool |
private facebook4j.internal.org.json.JSONArray |
jsonArray |
private facebook4j.internal.org.json.JSONObject |
jsonObject |
private java.lang.String |
responseAsString |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
RawAPIResponseImpl(facebook4j.internal.http.HttpResponse res) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
facebook4j.internal.org.json.JSONArray |
asJSONArray() |
facebook4j.internal.org.json.JSONObject |
asJSONObject() |
java.lang.String |
asString() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isBoolean() |
boolean |
isJSONArray() |
boolean |
isJSONObject() |
java.lang.String |
toString() |
private static final long serialVersionUID
private final java.lang.String responseAsString
private final facebook4j.internal.org.json.JSONObject jsonObject
private final facebook4j.internal.org.json.JSONArray jsonArray
private final java.lang.Boolean bool
RawAPIResponseImpl(facebook4j.internal.http.HttpResponse res)
throws FacebookException
FacebookExceptionpublic boolean isJSONObject()
isJSONObject in interface RawAPIResponsepublic boolean isJSONArray()
isJSONArray in interface RawAPIResponsepublic boolean isBoolean()
isBoolean in interface RawAPIResponsepublic facebook4j.internal.org.json.JSONObject asJSONObject()
throws FacebookException
asJSONObject in interface RawAPIResponseFacebookExceptionpublic facebook4j.internal.org.json.JSONArray asJSONArray()
throws FacebookException
asJSONArray in interface RawAPIResponseFacebookExceptionpublic boolean asBoolean()
throws FacebookException
asBoolean in interface RawAPIResponseFacebookExceptionpublic java.lang.String asString()
asString in interface RawAPIResponsepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object