| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal | |
| com.qcloud.cos.internal.crypto | |
| com.qcloud.cos.model | |
| com.qcloud.cos.transfer |
| 限定符和类型 | 方法和说明 |
|---|---|
UploadPartResult |
COSEncryptionClient.uploadPart(UploadPartRequest uploadPartRequest)
Uploads a part in a multipart upload.
|
UploadPartResult |
COSClient.uploadPart(UploadPartRequest uploadPartRequest) |
UploadPartResult |
COS.uploadPart(UploadPartRequest uploadPartRequest)
Uploads a part in a multipart upload.
|
| 限定符和类型 | 方法和说明 |
|---|---|
UploadPartRequest |
UploadPartRequestFactory.getNextUploadPartRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerRequest(UploadPartRequest request)
Determines whether the client should use the
Headers#ETAG header returned by COS to
validate the integrity of the message client side. |
UploadPartResult |
COSDirectSpi.uploadPart(UploadPartRequest req) |
abstract UploadPartResult |
COSDirect.uploadPart(UploadPartRequest req) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected CipherLiteInputStream |
COSCryptoModuleBase.newMultipartCOSCipherInputStream(UploadPartRequest req,
com.qcloud.cos.internal.crypto.CipherLite cipherLite) |
UploadPartResult |
CryptoModuleDispatcher.uploadPartSecurely(UploadPartRequest req)
NOTE: Because the encryption process requires context from block N-1 in order to
encrypt block N, parts uploaded with the COSEncryptionClient (as opposed to the normal
COSClient) must be uploaded serially, and in order.
|
UploadPartResult |
COSCryptoModuleBase.uploadPartSecurely(UploadPartRequest req)
NOTE: Because the encryption process requires context from previous blocks, parts
uploaded with the COSEncryptionClient (as opposed to the normal COSClient) must be
uploaded serially, and in order.
|
abstract UploadPartResult |
COSCryptoModule.uploadPartSecurely(UploadPartRequest req) |
| 限定符和类型 | 方法和说明 |
|---|---|
UploadPartRequest |
UploadPartRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the existing, initiated multipart
upload, with which this new part will be associated, and returns this
updated object so that additional method calls can be chained together.
|
UploadPartRequest |
UploadPartRequest.withFile(File file)
Sets the file containing the data to upload, and returns this updated
UploadPartRequest object so that additional method calls can be chained
together.
|
UploadPartRequest |
UploadPartRequest.withFileOffset(long fileOffset)
Sets the optional offset in the specified file, at which to begin
uploading data for this part, and returns this updated UploadPartRequest
object so that additional method calls can be chained together.
|
UploadPartRequest |
UploadPartRequest.withInputStream(InputStream inputStream)
Sets the stream containing the data to upload for the new part, and
returns this updated object so that additional method calls can be
chained together.
|
UploadPartRequest |
UploadPartRequest.withKey(String key)
Sets the key of the initiated multipart upload, and returns this updated
object so that additional method calls can be chained together.
|
UploadPartRequest |
UploadPartRequest.withLastPart(boolean isLastPart)
Marks this part as the last part being uploaded in a multipart upload,
and returns this updated request object so that additional method calls
can be chained together.
|
UploadPartRequest |
UploadPartRequest.withMD5Digest(String md5Digest)
Sets the optional, but recommended, MD5 hash of the content of this part.
|
UploadPartRequest |
UploadPartRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Fluent API for
setObjectMetadata(ObjectMetadata). |
UploadPartRequest |
UploadPartRequest.withPartNumber(int partNumber)
Sets the part number describing this part's position relative to the
other parts in the multipart upload.
|
UploadPartRequest |
UploadPartRequest.withPartSize(long partSize)
Sets the size of this part, in bytes, and returns this updated
UploadPartRequest object so that additional method calls can be chained
together.
|
UploadPartRequest |
UploadPartRequest.withSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
encrypt the object part being uploaded, and returns the updated request
object so that additional method calls can be chained together.
|
UploadPartRequest |
UploadPartRequest.withTrafficLimit(int trafficLimit)
Sets the speed of this part upload, in bit/s, and returns this updated
UploadPartRequest object so that additional method calls can be chained
together.
|
UploadPartRequest |
UploadPartRequest.withUploadId(String uploadId)
Sets the ID of the existing, initiated multipart upload with which this
new part will be associated, and returns this updated UploadPartRequest
object so that additional method calls can be chained together.
|
| 构造器和说明 |
|---|
UploadPartCallable(COS cos,
UploadPartRequest request) |
Copyright © 2020. All rights reserved.