public interface RequestProgressListener
| Modifier and Type | Field and Description |
|---|---|
static RequestProgressListener |
IGNORE_REQUEST_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(Object requestId,
int responseStatus)
To be called when a request completes successfully.
|
void |
onRequest(Object requestId)
To be called when a request begins.
|
void |
onTerminate(Object requestId)
To be called when a request is terminated after being unable to complete successfully.
|
static final RequestProgressListener IGNORE_REQUEST_PROGRESS
void onRequest(Object requestId)
requestId - a unique ID to identify the requestvoid onComplete(Object requestId, int responseStatus)
requestId - a unique ID to identify the requestresponseStatus - the status code of the responsevoid onTerminate(Object requestId)
requestId - a unique ID to identify the requestCopyright © 2013–2020 Hotels.com. All rights reserved.