@ThreadSafe public interface FileDownload extends ObjectTransfer
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CompletedFileDownload> |
completionFuture() |
ResumableFileDownload |
pause()
Pause the current download operation and returns the information that can
be used to resume the download at a later time.
|
progressResumableFileDownload pause()
The information object is serializable for persistent storage until it should be resumed.
See ResumableFileDownload for supported formats.
ResumableFileDownload that can be used to resume the download.CompletableFuture<CompletedFileDownload> completionFuture()
completionFuture in interface TransferCopyright © 2023. All rights reserved.