程序包 | 说明 |
---|---|
com.tencent.cos.xml | |
com.tencent.cos.xml.crypto | |
com.tencent.cos.xml.model.ci | |
com.tencent.cos.xml.transfer |
限定符和类型 | 方法和说明 |
---|---|
PutObjectResult |
CosXmlSimpleService.putObject(PutObjectRequest request)
简单上传的同步方法.
|
PutObjectResult |
SimpleCosXml.putObject(PutObjectRequest request)
简单上传的同步方法.
|
void |
CosXmlSimpleService.putObjectAsync(PutObjectRequest request,
CosXmlResultListener cosXmlResultListener)
简单上传的异步方法.
|
void |
SimpleCosXml.putObjectAsync(PutObjectRequest request,
CosXmlResultListener cosXmlResultListener)
简单上传的异步方法.
|
限定符和类型 | 方法和说明 |
---|---|
protected PutObjectRequest |
CryptoModuleBase.wrapWithCipher(PutObjectRequest request,
com.tencent.cos.xml.crypto.ContentCryptoMaterial cekMaterial)
Returns the given
PutObjectRequest but has the content as input stream wrapped
with a cipher, and configured with some meta data and user metadata. |
限定符和类型 | 方法和说明 |
---|---|
CipherLiteInputStream |
CryptoModuleBase.newCOSCipherLiteInputStream(PutObjectRequest req,
com.tencent.cos.xml.crypto.CipherLite cipherLite) |
protected long |
CryptoModuleBase.plaintextLength(PutObjectRequest request,
ObjectMetadata metadata)
Returns the plaintext length from the request and metadata; or -1 if unknown.
|
PutObjectResult |
COSDirectImpl.putObject(PutObjectRequest request) |
PutObjectResult |
COSDirect.putObject(PutObjectRequest request) |
PutObjectResult |
CryptoModule.putObjectSecurely(PutObjectRequest request) |
PutObjectResult |
CryptoModuleBase.putObjectSecurely(PutObjectRequest req) |
protected PutObjectRequest |
CryptoModuleBase.wrapWithCipher(PutObjectRequest request,
com.tencent.cos.xml.crypto.ContentCryptoMaterial cekMaterial)
Returns the given
PutObjectRequest but has the content as input stream wrapped
with a cipher, and configured with some meta data and user metadata. |
限定符和类型 | 类和说明 |
---|---|
class |
ImageUploadRequest
上传时万象处理请求
Created by rickenwang on 2021/4/28.
|
class |
QRCodeUploadRequest
上传时二维码识别请求
|
限定符和类型 | 类和说明 |
---|---|
static class |
COSXMLUploadTask.COSXMLUploadTaskRequest
上传传输任务的请求
|
限定符和类型 | 方法和说明 |
---|---|
COSUploadTask |
TransferService.upload(PutObjectRequest putObjectRequest)
高级上传接口,
|
COSXMLUploadTask |
TransferManager.upload(PutObjectRequest putObjectRequest,
java.lang.String uploadId)
通过初始化
PutObjectRequest 来上传文件
支持给 pubObjectRequest 设置 Header,后续所有的上传相关的请求都会带上对应的 Header |
构造器和说明 |
---|
COSUploadTask(COSDirect cosDirect,
PutObjectRequest putObjectRequest) |