-
public class GraphResponse.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringTAGprivate final StringNON_JSON_RESPONSE_PROPERTYprivate final StringSUCCESS_KEYpublic final static GraphResponse.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final List<GraphResponse>fromHttpConnection(HttpURLConnection connection, GraphRequestBatch requests)final List<GraphResponse>createResponsesFromStream(InputStream stream, HttpURLConnection connection, GraphRequestBatch requests)final List<GraphResponse>createResponsesFromString(String responseString, HttpURLConnection connection, GraphRequestBatch requests)final List<GraphResponse>constructErrorResponses(List<GraphRequest> requests, HttpURLConnection connection, FacebookException error)final StringgetTAG()final StringgetNON_JSON_RESPONSE_PROPERTY()Property name of non-JSON results in the GraphObject. final StringgetSUCCESS_KEY()-
-
Method Detail
-
fromHttpConnection
final List<GraphResponse> fromHttpConnection(HttpURLConnection connection, GraphRequestBatch requests)
-
createResponsesFromStream
final List<GraphResponse> createResponsesFromStream(InputStream stream, HttpURLConnection connection, GraphRequestBatch requests)
-
createResponsesFromString
final List<GraphResponse> createResponsesFromString(String responseString, HttpURLConnection connection, GraphRequestBatch requests)
-
constructErrorResponses
final List<GraphResponse> constructErrorResponses(List<GraphRequest> requests, HttpURLConnection connection, FacebookException error)
-
getNON_JSON_RESPONSE_PROPERTY
final String getNON_JSON_RESPONSE_PROPERTY()
Property name of non-JSON results in the GraphObject. Certain calls to Facebook result in a non-JSON response (e.g., the string literal "true" or "false"). To present a consistent way of accessing results, these are represented as a GraphObject with a single string property with this name.
-
getSUCCESS_KEY
final String getSUCCESS_KEY()
-
-
-
-