public class GetContentBuilder extends DbxDownloadStyleBuilder<java.lang.Void>
DbxUserCloudDocsRequests.getContentBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
DbxDownloader<java.lang.Void> |
start()
Issues the download request using this builder's request parameters and returns a
DbxDownloader for reading the response body. |
download, getHeaders, range, range
public DbxDownloader<java.lang.Void> start() throws CloudDocsAccessErrorException, DbxException
DbxDownloadStyleBuilder
DbxDownloader
for reading the response body.
Callers should fully read the response body using DbxDownloader.getInputStream()
and
close the downloader afterwards (see DbxDownloader.close()
). This will allow for proper
resource deallocation and connection re-use..
See DbxDownloadStyleBuilder.download(java.io.OutputStream)
convenience method for a simpler way to complete the request.start
in class DbxDownloadStyleBuilder<java.lang.Void>
DbxDownloader
used to download data and read the response.DbxException
- if an error occursing issuing the requestCloudDocsAccessErrorException