public static class BoxRequestsFile.DownloadFile extends BoxRequestDownload<BoxDownload,BoxRequestsFile.DownloadFile>
BoxRequestDownload.DownloadRequestHandlerBoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmDownloadStartListener, mFileOutputStream, mId, mRangeEnd, mRangeStart, mTargetJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
DownloadFile(java.io.File target,
java.lang.String requestUrl,
BoxSession session)
Deprecated.
Please use the DownloadFile constructor that takes in an id as this method may be removed in future releases
|
DownloadFile(java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
Deprecated.
Please use the DownloadFile constructor that takes in an id as this method may be removed in future releases
|
DownloadFile(java.lang.String id,
java.io.File target,
java.lang.String requestUrl,
BoxSession session)
Creates a download file to file request with the default parameters
|
DownloadFile(java.lang.String id,
java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
Creates a download file to output stream request with the default parameters
|
getId, getRangeEnd, getRangeStart, getTarget, getTargetStream, getVersion, logDebug, setContentAccess, setDownloadStartListener, setHeaders, setProgressListener, setRange, setVersionbuildUrl, createHeaderMap, createHttpRequest, createQuery, equals, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logRequest, onSend, onSendCompleted, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic DownloadFile(java.lang.String id,
java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
id - The id of the file to downloadoutputStream - The output stream to download the file torequestUrl - URL of the download file endpointsession - The authenticated session that will be used to make the request with@Deprecated
public DownloadFile(java.io.OutputStream outputStream,
java.lang.String requestUrl,
BoxSession session)
outputStream - The 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.lang.String id,
java.io.File target,
java.lang.String requestUrl,
BoxSession session)
id - The Id of the file to downloadtarget - The target file to download torequestUrl - URL of the download file endpointsession - The authenticated session that will be used to make the request with@Deprecated
public 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