public final class DownloadRetryOptions extends Object
| Constructor and Description |
|---|
DownloadRetryOptions() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxRetryRequests()
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a
response body.
|
DownloadRetryOptions |
setMaxRetryRequests(int maxRetryRequests)
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a
response body.
|
public int getMaxRetryRequests()
public DownloadRetryOptions setMaxRetryRequests(int maxRetryRequests)
maxRetryRequests - The number of retries to attempt before the request finally failsIllegalArgumentException - If maxRetryRequests is less than 0Copyright © 2020 Microsoft Corporation. All rights reserved.