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 |
---|---|
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) |
ObjectMetadata |
COS.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified object without actually fetching the object itself.
|
ObjectMetadata |
COSClient.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
COS.getObjectMetadata(String bucketName,
String key)
Gets the metadata for the specified object without actually fetching the object itself.
|
ObjectMetadata |
COSClient.getObjectMetadata(String bucketName,
String key) |
protected <UploadObjectRequest extends PutObjectRequest> |
COSClient.uploadObjectInternal(UploadMode uploadMode,
UploadObjectRequest uploadObjectRequest) |
Modifier and Type | Method and Description |
---|---|
protected static void |
COSClient.populateRequestMetadata(CosHttpRequest<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from the
ObjectMetadata object. |
PutObjectResult |
COS.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified file to under the specified bucket and key name.
|
PutObjectResult |
COSClient.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
void |
COS.updateObjectMetaData(String bucketName,
String key,
ObjectMetadata objectMetadata)
update the object meta.
|
void |
COSClient.updateObjectMetaData(String bucketName,
String key,
ObjectMetadata objectMetadata) |
Modifier and Type | Method and Description |
---|---|
abstract ObjectMetadata |
COSDirect.getObject(GetObjectRequest req,
File dest) |
ObjectMetadata |
COSDirectSpi.getObject(GetObjectRequest req,
File dest) |
ObjectMetadata |
Unmarshallers.ImagePersistenceUnmarshaller.unmarshall(InputStream in) |
Modifier and Type | Method and Description |
---|---|
CosServiceResponse<ObjectMetadata> |
CosMetadataResponseHandler.handle(CosHttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
CosMetadataResponseHandler.handle(ObjectMetadata result,
CosHttpResponse response) |
protected void |
AbstractCosResponseHandler.populateObjectMetadata(CosHttpResponse response,
ObjectMetadata metadata)
Populates the specified COSObjectMetadata object with all object metadata pulled from the
headers in the specified response.
|
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.skipClientSideValidationPerGetResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by COS to
validate the integrity of the message client side based on the server response. |
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerPutResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by COS to
validate the integrity of the message client side based on the server response. |
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerUploadPartResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by COS to
validate the integrity of the message client side based on the server response. |
Modifier and Type | Method and Description |
---|---|
abstract ObjectMetadata |
COSCryptoModule.getObjectSecurely(GetObjectRequest req,
File dest) |
ObjectMetadata |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req,
File destinationFile) |
ObjectMetadata |
COSCryptoModuleAE.getObjectSecurely(GetObjectRequest getObjectRequest,
File destinationFile) |
protected ObjectMetadata |
COSCryptoModuleBase.updateMetadataWithContentCryptoMaterial(ObjectMetadata metadata,
File file,
com.qcloud.cos.internal.crypto.ContentCryptoMaterial instruction) |
Modifier and Type | Method and Description |
---|---|
protected long |
COSCryptoModuleBase.plaintextLength(AbstractPutObjectRequest request,
ObjectMetadata metadata)
Returns the plaintext length from the request and metadata; or -1 if unknown.
|
protected ObjectMetadata |
COSCryptoModuleBase.updateMetadataWithContentCryptoMaterial(ObjectMetadata metadata,
File file,
com.qcloud.cos.internal.crypto.ContentCryptoMaterial instruction) |
Modifier and Type | Field and Description |
---|---|
ObjectMetadata |
InitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as content type, content
encoding, user metadata, etc.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
ObjectMetadata.clone() |
ObjectMetadata |
PutObjectResult.getMetadata()
Returns the metadata retrieved as a response to
COSClient#putObject(PutObjectRequest)
operation. |
ObjectMetadata |
AppendObjectResult.getMetadata() |
ObjectMetadata |
AbstractPutObjectRequest.getMetadata()
Gets the optional metadata instructing Qcloud COS how to handle the uploaded data (e.g.
|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.
|
ObjectMetadata |
COSObject.getObjectMetadata()
Gets the metadata stored by Qcloud COS for this object.
|
ObjectMetadata |
CompleteMultipartUploadRequest.getObjectMetadata() |
ObjectMetadata |
UploadPartRequest.getObjectMetadata()
Returns the additional information about the part being uploaded.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created, such as content type,
content encoding, user metadata, etc.
|
Modifier and Type | Method and Description |
---|---|
void |
PutObjectResult.setMetadata(ObjectMetadata metadata)
Sets the metadata retrieved as a response to
COSClient#putObject(PutObjectRequest)
operation. |
void |
AppendObjectResult.setMetadata(ObjectMetadata metadata) |
void |
AbstractPutObjectRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Qcloud COS how to handle the uploaded data (e.g.
|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object.
|
void |
COSObject.setObjectMetadata(ObjectMetadata metadata)
Sets the object metadata for this object.
|
void |
CompleteMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata) |
void |
UploadPartRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the part being uploaded.
|
void |
InitiateMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such as content type,
content encoding, user metadata, etc.
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata) |
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Qcloud COS how to handle the uploaded data (e.g.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns this object, enabling
additional method calls to be chained together.
|
UploadPartRequest |
UploadPartRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Fluent API for
UploadPartRequest.setObjectMetadata(ObjectMetadata) . |
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such as content type,
content encoding, user metadata, etc.
|
Constructor and Description |
---|
AbstractPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Constructs a new
AbstractPutObjectRequest object to upload a stream of data to the
specified bucket and key. |
AppendObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata) |
EncryptedPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
InitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata)
Constructs a request to initiate a new multipart upload in the specified bucket, stored by
the specified key, and with the additional specified object metadata.
|
PutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Constructs a new
PutObjectRequest object to upload a stream of data to
the specified bucket and key. |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
CIPostJobImpl.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
ObjectMetadata |
Download.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
ObjectMetadata |
DownloadImpl.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectMetadataProvider.provideObjectMetadata(File file,
ObjectMetadata metadata) |
Upload |
TransferManager.upload(String bucketName,
String key,
InputStream input,
ObjectMetadata objectMetadata)
Schedules a new transfer to upload data to Qcloud COS.
|
Constructor and Description |
---|
CopyCallable(TransferManager transferManager,
ExecutorService threadPool,
CopyImpl copy,
CopyObjectRequest copyObjectRequest,
ObjectMetadata metadata,
ProgressListenerChain progressListenerChain) |
Copyright © 2022. All rights reserved.