| Modifier and Type | Class and Description |
|---|---|
static class |
FHCloudRequest.Methods |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOG_TAG |
mCallback, mContext, PATH_PREFIX| Constructor and Description |
|---|
FHCloudRequest(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected cz.msebera.android.httpclient.Header[] |
buildHeaders(cz.msebera.android.httpclient.Header[] pHeaders) |
void |
execute(FHActCallback pCallback)
Executes the request synchronously.
|
void |
executeAsync(FHActCallback pCallback)
Executes the request asynchronously.
|
protected String |
getPath() |
protected JSONObject |
getRequestArgs() |
void |
setHeaders(cz.msebera.android.httpclient.Header[] pHeaders) |
void |
setMethod(FHCloudRequest.Methods pMethod) |
void |
setPath(String pPath) |
void |
setRequestArgs(JSONObject pArgs) |
executeAsync, getApiURl, setCallbackprotected static final String LOG_TAG
public void setPath(String pPath)
public void setMethod(FHCloudRequest.Methods pMethod)
public void setHeaders(cz.msebera.android.httpclient.Header[] pHeaders)
public void setRequestArgs(JSONObject pArgs)
protected JSONObject getRequestArgs()
getRequestArgs in class FHRemotepublic void executeAsync(FHActCallback pCallback)
FHActexecuteAsync in interface FHActexecuteAsync in class FHRemotepCallback - the callback functionpublic void execute(FHActCallback pCallback)
FHActprotected cz.msebera.android.httpclient.Header[] buildHeaders(cz.msebera.android.httpclient.Header[] pHeaders)
buildHeaders in class FHRemoteCopyright © 2016 Red Hat. All rights reserved.