Class CrtFileDownload

java.lang.Object
software.amazon.awssdk.transfer.s3.internal.model.CrtFileDownload
All Implemented Interfaces:
FileDownload, ObjectTransfer, Transfer

@SdkInternalApi public final class CrtFileDownload extends Object implements FileDownload
A FileDownload for a download whose response body is written to the destination file by CRT rather than by an AsyncResponseTransformer.

Because the response body never passes through the SDK, the response headers are not surfaced until the transfer finishes, so the ETag and last-modified time needed to resume the download cannot be read from the progress snapshot the way DefaultFileDownload reads them. They are instead taken from the ResumeToken that CRT hands back when the meta request is paused.