public final class DefaultDownload<ReturnT> extends Object implements Download<ReturnT>
| Constructor and Description |
|---|
DefaultDownload(CompletableFuture<CompletedDownload<ReturnT>> completionFuture,
TransferProgress progress) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CompletedDownload<ReturnT>> |
completionFuture() |
boolean |
equals(Object o) |
int |
hashCode() |
TransferProgress |
progress()
The stateful
TransferProgress associated with this transfer. |
String |
toString() |
public DefaultDownload(CompletableFuture<CompletedDownload<ReturnT>> completionFuture, TransferProgress progress)
public CompletableFuture<CompletedDownload<ReturnT>> completionFuture()
completionFuture in interface Download<ReturnT>completionFuture in interface Transferpublic TransferProgress progress()
ObjectTransferTransferProgress associated with this transfer.progress in interface ObjectTransferCopyright © 2023. All rights reserved.