| Package | Description |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal | |
| com.qcloud.cos.internal.crypto | |
| com.qcloud.cos.model | |
| com.qcloud.cos.transfer |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
COS.getObject(GetObjectRequest getObjectRequest)
Gets the object stored in under the specified bucket and key.
|
COSObject |
COSClient.getObject(GetObjectRequest getObjectRequest) |
COSObject |
COSEncryptionClient.getObject(GetObjectRequest req) |
ObjectMetadata |
COS.getObject(GetObjectRequest getObjectRequest,
File destinationFile)
Gets the object metadata for the object stored in under the specified bucket and key, and
saves the object contents to the specified file.
|
ObjectMetadata |
COSClient.getObject(GetObjectRequest getObjectRequest,
File destinationFile) |
ObjectMetadata |
COSEncryptionClient.getObject(GetObjectRequest req,
File dest) |
URL |
COSClient.getObjectUrl(GetObjectRequest getObjectRequest) |
| Modifier and Type | Method and Description |
|---|---|
abstract COSObject |
COSDirect.getObject(GetObjectRequest req) |
COSObject |
COSDirectSpi.getObject(GetObjectRequest req) |
abstract ObjectMetadata |
COSDirect.getObject(GetObjectRequest req,
File dest) |
ObjectMetadata |
COSDirectSpi.getObject(GetObjectRequest req,
File dest) |
boolean |
SkipMd5CheckStrategy.skipClientSideValidation(GetObjectRequest request,
ObjectMetadata returnedMetadata)
Conveience method to determine whether to do client side validation of a GetObject call based
on both the request and the response.
|
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerRequest(GetObjectRequest request)
Based on the given
GetObjectRequest, returns whether the specified request should
skip MD5 check on the requested object content. |
| Modifier and Type | Method and Description |
|---|---|
abstract COSObject |
COSCryptoModule.getObjectSecurely(GetObjectRequest req) |
COSObject |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req) |
COSObject |
COSCryptoModuleAE.getObjectSecurely(GetObjectRequest req) |
abstract ObjectMetadata |
COSCryptoModule.getObjectSecurely(GetObjectRequest req,
File dest) |
ObjectMetadata |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req,
File destinationFile) |
ObjectMetadata |
COSCryptoModuleAE.getObjectSecurely(GetObjectRequest getObjectRequest,
File destinationFile) |
| Modifier and Type | Class and Description |
|---|---|
class |
EncryptedGetObjectRequest
An extension of
GetObjectRequest to allow additional encryption material description to
be specified on a per-request basis. |
| Modifier and Type | Method and Description |
|---|---|
GetObjectRequest |
GetObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the object to be downloaded.
|
GetObjectRequest |
GetObjectRequest.withKey(String key)
Sets the key under which the object to be downloaded is stored.
|
GetObjectRequest |
GetObjectRequest.withMatchingETagConstraint(String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withModifiedSinceConstraint(Date date)
Sets the optional modified constraint that restricts this request to executing only if the
object has been modified after the specified date.
|
GetObjectRequest |
GetObjectRequest.withNonmatchingETagConstraint(String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withRange(long start,
long end)
Sets the optional inclusive byte range within the desired object that will be downloaded by
this request.
|
GetObjectRequest |
GetObjectRequest.withResponseHeaders(ResponseHeaderOverrides responseHeaders)
Sets the headers to be overridden in the service response and returns this object, for method
chaining.
|
GetObjectRequest |
GetObjectRequest.withSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to decrypt this object,
and returns the updated GetObjectRequest so that additional method calls may be chained
together.
|
GetObjectRequest |
GetObjectRequest.withUnmodifiedSinceConstraint(Date date)
Sets the optional unmodified constraint that restricts this request to executing only if the
object has not been modified after the specified date.
|
GetObjectRequest |
GetObjectRequest.withVersionId(String versionId)
Sets the optional version ID specifying which version of the object to download and returns
this object, enabling additional method calls to be chained together.
|
| Modifier and Type | Method and Description |
|---|---|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file)
Schedules a new transfer to download data from Qcloud COS and save it to the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
boolean resumableDownload) |
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
boolean resumableDownload,
String resumableTaskFile,
int multiThreadThreshold,
int partSize) |
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
COSProgressListener progressListener)
Schedules a new transfer to download data from Qcloud COS and save it to the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
COSProgressListener progressListener,
boolean resumableDownload) |
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
COSProgressListener progressListener,
boolean resumableDownload,
String resumableTaskFile,
int multiThreadThreshold,
int partSize) |
| Constructor and Description |
|---|
CIPostJobImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
COSObject cosObject,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
File file) |
DownloadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
COSObject cosObject,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
File file) |
RangeDownloadCallable(COS cos,
GetObjectRequest request,
File destFile,
FileChannel destFileChannel,
PersistableResumeDownload downloadRecord) |
Copyright © 2023. All rights reserved.