public static class BoxRequestsFile.DownloadFile extends BoxRequestDownload<BoxDownload,BoxRequestsFile.DownloadFile>
BoxRequestDownload.DownloadRequestHandlerBoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
DownloadFile(java.io.File target,
java.lang.String requestUrl,
BoxSession session)
Creates a download file to file request with the default parameters
|
DownloadFile(java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
Creates a download file to output stream request with the default parameters
|
getRangeEnd, getRangeStart, getTarget, getTargetStream, getVersion, logDebug, setDownloadStartListener, setHeaders, setProgressListener, setRange, setVersionbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic DownloadFile(java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
outputStream - output stream to download the file torequestUrl - URL of the download file endpointsession - the authenticated session that will be used to make the request withpublic DownloadFile(java.io.File target,
java.lang.String requestUrl,
BoxSession session)
target - target file to download torequestUrl - URL of the download file endpointsession - the authenticated session that will be used to make the request with