| Modifier and Type | Method and Description |
|---|---|
default FileDownload |
S3TransferManager.resumeDownloadFile(ResumableFileDownload resumableFileDownload)
Resumes a downloadFile operation.
|
| Modifier and Type | Method and Description |
|---|---|
ResumableFileDownload |
DefaultFileDownload.pause() |
| Constructor and Description |
|---|
DefaultFileDownload(CompletableFuture<CompletedFileDownload> completedFileDownloadFuture,
TransferProgress progress,
Supplier<DownloadFileRequest> requestSupplier,
ResumableFileDownload resumedDownload) |
| Modifier and Type | Method and Description |
|---|---|
static ResumableFileDownload |
ResumableFileDownloadSerializer.fromJson(byte[] bytes) |
static ResumableFileDownload |
ResumableFileDownloadSerializer.fromJson(InputStream bytes) |
static ResumableFileDownload |
ResumableFileDownloadSerializer.fromJson(String bytes) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ResumableFileDownloadSerializer.toJson(ResumableFileDownload download)
Serializes an instance of
ResumableFileDownload into valid JSON. |
| Modifier and Type | Method and Description |
|---|---|
static Pair<DownloadFileRequest,AsyncResponseTransformer<GetObjectResponse,GetObjectResponse>> |
ResumableRequestConverter.toDownloadFileRequestAndTransformer(ResumableFileDownload resumableFileDownload,
HeadObjectResponse headObjectResponse,
DownloadFileRequest originalDownloadRequest)
|
| Modifier and Type | Method and Description |
|---|---|
static ResumableFileDownload |
ResumableFileDownload.fromBytes(SdkBytes bytes)
Deserialize bytes with JSON data into a
ResumableFileDownload. |
static ResumableFileDownload |
ResumableFileDownload.fromFile(Path path)
Deserialize data at the given path into a
ResumableFileDownload. |
static ResumableFileDownload |
ResumableFileDownload.fromString(String contents)
Deserialize a string with JSON data into a
ResumableFileDownload. |
ResumableFileDownload |
FileDownload.pause()
Pause the current download operation and returns the information that can
be used to resume the download at a later time.
|
Copyright © 2023. All rights reserved.