| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpRequestTask.HttpRequestTaskCallback
Callback interface for HTTP requests.
|
AsyncTask.Status| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_TYPE_DELETE |
static String |
REQUEST_TYPE_GET |
static String |
REQUEST_TYPE_POST |
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR| Constructor and Description |
|---|
HttpRequestTask(HttpRequestTask.HttpRequestTaskCallback hcb) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doInBackground(String... params) |
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onCancelled, onPostExecute, onPreExecute, onProgressUpdate, publishProgresspublic static final String REQUEST_TYPE_POST
public static final String REQUEST_TYPE_GET
public static final String REQUEST_TYPE_DELETE
public HttpRequestTask(HttpRequestTask.HttpRequestTaskCallback hcb)
hcb - callback for when this task finishes