| Constructor and Description |
|---|
RequestAsyncTask(Collection<Request> requests)
Constructor.
|
RequestAsyncTask(HttpURLConnection connection,
Collection<Request> requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
RequestAsyncTask(HttpURLConnection connection,
Request... requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
RequestAsyncTask(HttpURLConnection connection,
RequestBatch requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
RequestAsyncTask(Request... requests)
Constructor.
|
RequestAsyncTask(RequestBatch requests)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Response> |
doInBackground(Void... params) |
protected Exception |
getException() |
protected RequestBatch |
getRequests() |
protected void |
onPostExecute(List<Response> result) |
protected void |
onPreExecute() |
String |
toString() |
public RequestAsyncTask(Request... requests)
requests - the requests to executepublic RequestAsyncTask(Collection<Request> requests)
requests - the requests to executepublic RequestAsyncTask(RequestBatch requests)
requests - the requests to executepublic RequestAsyncTask(HttpURLConnection connection, Request... requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executepublic RequestAsyncTask(HttpURLConnection connection, Collection<Request> requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executepublic RequestAsyncTask(HttpURLConnection connection, RequestBatch requests)
connection - the HTTP connection to use to execute the requestsrequests - the requests to executeprotected final Exception getException()
protected final RequestBatch getRequests()
protected void onPreExecute()
Copyright © 2013. All Rights Reserved.