public class DownloadFileHeaders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadFileHeaders.Builder |
| Modifier and Type | Field and Description |
|---|---|
String |
boxapi
The URL, and optional password, for the shared link of this item.
|
Map<String,String> |
extraHeaders
Extra headers that will be included in the HTTP request.
|
String |
range
The byte range of the content to download.
|
| Modifier | Constructor and Description |
|---|---|
|
DownloadFileHeaders() |
protected |
DownloadFileHeaders(DownloadFileHeaders.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBoxapi() |
Map<String,String> |
getExtraHeaders() |
String |
getRange() |
public String range
The format `bytes={start_byte}-{end_byte}` can be used to specify what section of the file to download.
public String boxapi
This header can be used to access items that have not been explicitly shared with a user.
Use the format `shared_link=[link]` or if a password is required then use `shared_link=[link]&shared_link_password=[password]`.
This header can be used on the file or folder shared, as well as on any files or folders nested within the item.
public Map<String,String> extraHeaders
public DownloadFileHeaders()
protected DownloadFileHeaders(DownloadFileHeaders.Builder builder)