|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sponsorpay.sdk.android.publisher.AsyncRequest
com.sponsorpay.sdk.android.publisher.currency.VirtualCurrencyConnector.CurrencyServerRequestAsyncTask
private class VirtualCurrencyConnector.CurrencyServerRequestAsyncTask
VirtualCurrencyConnector.CurrencyServerRequestAsyncTask used to perform the HTTP requests on a background thread and be notified of
its results on the calling thread.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sponsorpay.sdk.android.publisher.AsyncRequest |
|---|
AsyncRequest.AsyncRequestResultListener |
| Field Summary | |
|---|---|
VirtualCurrencyConnector.RequestType |
requestType
Type of the request which will be performed in the background. |
| Fields inherited from class com.sponsorpay.sdk.android.publisher.AsyncRequest |
|---|
LOG_TAG, shouldLogVerbosely |
| Constructor Summary | |
|---|---|
VirtualCurrencyConnector.CurrencyServerRequestAsyncTask(VirtualCurrencyConnector.RequestType requestType,
java.lang.String requestUrl,
AsyncRequest.AsyncRequestResultListener listener)
Initializes a new instance whose #execute() still needs to be invoked to trigger
the request. |
|
| Method Summary |
|---|
| Methods inherited from class com.sponsorpay.sdk.android.publisher.AsyncRequest |
|---|
didRequestThrowError, doInBackground, getCookieStrings, getHttpStatusCode, getRequestThrownError, getResponseBody, getResponseSignature, hasCookies, hasSucessfulStatusCode, onPostExecute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public VirtualCurrencyConnector.RequestType requestType
| Constructor Detail |
|---|
public VirtualCurrencyConnector.CurrencyServerRequestAsyncTask(VirtualCurrencyConnector.RequestType requestType,
java.lang.String requestUrl,
AsyncRequest.AsyncRequestResultListener listener)
#execute() still needs to be invoked to trigger
the request.
requestType - Type of the request to be performed. See VirtualCurrencyConnector.RequestType.requestUrl - Url of the request to be performed.listener - Listener which will be notified of the results of the request / response on
the thread which called #execute().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||