public class PresignedUrlDownloadImpl extends AbstractTransfer implements PresignedUrlDownload
PresignedUrlDownload
interface. This represents the result of the download operation
in TransferManager using presigned urls.Transfer.TransferState
listenerChain, monitor, state, stateChangeListeners
Constructor and Description |
---|
PresignedUrlDownloadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
PresignedUrlDownloadRequest presignedUrlDownloadRequest) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Cancels the transfer
|
URL |
getPresignedUrl() |
void |
setS3Object(S3Object s3Object)
Set the S3 object to download.
|
void |
setState(Transfer.TransferState state)
This method is also responsible for firing COMPLETED signal to the
listeners.
|
addProgressListener, addProgressListener, addStateChangeListener, fireProgressEvent, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, unwrapExecutionException, waitForCompletion, waitForException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
public PresignedUrlDownloadImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, PresignedUrlDownloadRequest presignedUrlDownloadRequest)
public void setS3Object(S3Object s3Object)
public URL getPresignedUrl()
getPresignedUrl
in interface PresignedUrlDownload
public void abort() throws IOException
AbortableTransfer
abort
in interface AbortableTransfer
IOException
public void setState(Transfer.TransferState state)
setState
in class AbstractTransfer
Copyright © 2021. All rights reserved.