public class GraphRequestAsyncTask extends android.os.AsyncTask<java.lang.Void,java.lang.Void,java.util.List<GraphResponse>>
| Constructor and Description |
|---|
GraphRequestAsyncTask(java.util.Collection<GraphRequest> requests)
Constructor.
|
GraphRequestAsyncTask(GraphRequest... requests)
Constructor.
|
GraphRequestAsyncTask(GraphRequestBatch requests)
Constructor.
|
GraphRequestAsyncTask(java.net.HttpURLConnection connection,
java.util.Collection<GraphRequest> requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
GraphRequestAsyncTask(java.net.HttpURLConnection connection,
GraphRequest... requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
GraphRequestAsyncTask(java.net.HttpURLConnection connection,
GraphRequestBatch requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<GraphResponse> |
doInBackground(java.lang.Void... params) |
protected java.lang.Exception |
getException() |
protected GraphRequestBatch |
getRequests() |
protected void |
onPostExecute(java.util.List<GraphResponse> result) |
protected void |
onPreExecute() |
java.lang.String |
toString() |
public GraphRequestAsyncTask(GraphRequest... requests)
requests - the requests to executepublic GraphRequestAsyncTask(java.util.Collection<GraphRequest> requests)
requests - the requests to executepublic GraphRequestAsyncTask(GraphRequestBatch requests)
requests - the requests to executepublic GraphRequestAsyncTask(java.net.HttpURLConnection connection,
GraphRequest... requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executepublic GraphRequestAsyncTask(java.net.HttpURLConnection connection,
java.util.Collection<GraphRequest> requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executepublic GraphRequestAsyncTask(java.net.HttpURLConnection connection,
GraphRequestBatch requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executeprotected final java.lang.Exception getException()
protected final GraphRequestBatch getRequests()
public java.lang.String toString()
toString in class java.lang.Objectprotected void onPreExecute()
onPreExecute in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.util.List<GraphResponse>>protected void onPostExecute(java.util.List<GraphResponse> result)
onPostExecute in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.util.List<GraphResponse>>protected java.util.List<GraphResponse> doInBackground(java.lang.Void... params)
doInBackground in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.util.List<GraphResponse>>