public static class BoxRequestsPreview.PollForConversionReady.PollForConversionResponseHandler
extends BoxRequestDownload.DownloadRequestHandler
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAX_RETRY_ATTEMPTS
We set the maximum number of retry attempts to 9 so the approximate maximum wait time is a little over a minute and a half
|
protected static int |
MAX_WAIT_MILLIS
Because this is primarily used for loading media, we opt for a shorter maximum wait time between request retries
|
protected int |
mRetryAttempts
The number of retries that have been attempted with the maximum wait time.
|
| Constructor and Description |
|---|
PollForConversionResponseHandler(BoxRequestDownload request)
Constructs a PollForConversionResponseHandler for the request
|
| Modifier and Type | Method and Description |
|---|---|
BoxDownload |
onResponse(java.lang.Class clazz,
BoxHttpResponse response) |
protected static final int MAX_WAIT_MILLIS
protected static final int MAX_RETRY_ATTEMPTS
protected int mRetryAttempts