public class CosXmlService extends CosXmlSimpleService implements CosXml
CosXmlSimpleService
类。
更详细的使用方式请参考:入门文档
appCachePath, BRIDGE, client, config, credentialProvider, IS_CLOSE_BEACON, requestDomain, selfSigner, signerType, tag
构造器和说明 |
---|
CosXmlService(android.content.Context context,
CosXmlServiceConfig configuration)
cos android SDK 服务
|
CosXmlService(android.content.Context context,
CosXmlServiceConfig configuration,
QCloudCredentialProvider qCloudCredentialProvider)
cos android SDK 服务
|
CosXmlService(android.content.Context context,
CosXmlServiceConfig configuration,
QCloudSelfSigner selfSigner)
cos android SDK 服务
|
CosXmlService(android.content.Context context,
CosXmlServiceConfig configuration,
QCloudSigner qCloudSigner)
cos android SDK 服务
|
abortMultiUpload, abortMultiUploadAsync, completeMultiUpload, completeMultiUploadAsync, copyObject, copyObject, copyObjectAsync, copyObjectAsync, deleteObject, deleteObjectAsync, headObject, headObjectAsync, initMultipartUpload, initMultipartUploadAsync, listMultiUploads, listMultiUploadsAsync, listParts, listPartsAsync, postObject, postObjectAsync, preBuildConnection, preBuildConnectionAsync, putObject, putObjectAsync, setCopySource, setProgressListener
addCustomerDNS, addCustomerDNSFetch, addVerifiedHost, basePutObject, basePutObjectAsync, buildHttpRequest, cancel, cancelAll, execute, getAccessUrl, getAppid, getConfig, getCredentialProvider, getLogFiles, getObject, getObject, getObjectAsync, getObjectUrl, getPresignedURL, getRegion, getRegion, release, schedule, setDomain, setNetworkClient, uploadPart, uploadPartAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortMultiUpload, abortMultiUploadAsync, completeMultiUpload, completeMultiUploadAsync, copyObject, copyObject, copyObjectAsync, copyObjectAsync, deleteObject, deleteObjectAsync, headObject, headObjectAsync, initMultipartUpload, initMultipartUploadAsync, listMultiUploads, listMultiUploadsAsync, listParts, listPartsAsync, postObject, postObjectAsync, preBuildConnection, preBuildConnectionAsync, putObject, putObjectAsync
basePutObject, basePutObjectAsync, cancel, cancelAll, getObject, getObject, getObjectAsync, getObjectUrl, release, uploadPart, uploadPartAsync
public CosXmlService(android.content.Context context, CosXmlServiceConfig configuration, QCloudCredentialProvider qCloudCredentialProvider)
context
- Application 上下文Application
configuration
- cos android SDK 服务配置CosXmlServiceConfig
qCloudCredentialProvider
- cos android SDK 证书提供者 QCloudCredentialProvider
public CosXmlService(android.content.Context context, CosXmlServiceConfig configuration, QCloudSigner qCloudSigner)
context
- Application 上下文Application
configuration
- cos android SDK 服务配置 CosXmlServiceConfig
qCloudSigner
- cos android SDK 签名提供者 QCloudSigner
public CosXmlService(android.content.Context context, CosXmlServiceConfig configuration, QCloudSelfSigner selfSigner)
context
- Application 上下文Application
configuration
- cos android SDK 服务配置 CosXmlServiceConfig
selfSigner
- cos android SDK 签名提供者 QCloudSigner
public CosXmlService(android.content.Context context, CosXmlServiceConfig configuration)
context
- Application 上下文Application
configuration
- cos android SDK 服务配置CosXmlServiceConfig
protected java.lang.String signerTypeCompat(java.lang.String signerType, CosXmlRequest cosXmlRequest)
CosXmlBaseService
signerTypeCompat
在类中 CosXmlBaseService
public GetServiceResult getService(GetServiceRequest request) throws CosXmlClientException, CosXmlServiceException
获取所属账户的所有存储空间列表的同步方法.
详细介绍,请查看:CosXml.getService(GetServiceRequest)
getService
在接口中 CosXml
request
- 获取所属账户的所有存储空间列表请求 GetServiceRequest
GetServiceResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getServiceAsync(GetServiceRequest request, CosXmlResultListener cosXmlResultListener)
获取所属账户的所有存储空间列表的异步方法.
详细介绍,请查看:CosXml.getServiceAsync(GetServiceRequest request, CosXmlResultListener cosXmlResultListener)
getServiceAsync
在接口中 CosXml
request
- 获取所属账户的所有存储空间列表请求 GetServiceRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public AppendObjectResult appendObject(AppendObjectRequest request) throws CosXmlClientException, CosXmlServiceException
追加上传对象的同步方法。
详细介绍,请查看:CosXml.appendObject(AppendObjectRequest)
appendObject
在接口中 CosXml
request
- 追加上传对象的请求 AppendObjectRequest
AppendObjectResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void appendObjectAsync(AppendObjectRequest request, CosXmlResultListener cosXmlResultListener)
追加上传对象的异步方法。
详细介绍,请查看:CosXml.appendObjectAsync(AppendObjectRequest, CosXmlResultListener)
appendObjectAsync
在接口中 CosXml
request
- 追加上传对象的请求 AppendObjectRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteMultiObjectResult deleteMultiObject(DeleteMultiObjectRequest request) throws CosXmlClientException, CosXmlServiceException
批量删除 COS 对象的同步方法.
详细介绍,请查看:CosXml.deleteMultiObject(DeleteMultiObjectRequest)
deleteMultiObject
在接口中 CosXml
request
- 批量删除 COS 对象请求 DeleteMultiObjectRequest
DeleteMultiObjectResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteMultiObjectAsync(DeleteMultiObjectRequest request, CosXmlResultListener cosXmlResultListener)
批量删除 COS 对象的异步方法.
详细介绍,请查看:CosXml.deleteMultiObjectAsync(DeleteMultiObjectRequest request, CosXmlResultListener cosXmlResultListener)
deleteMultiObjectAsync
在接口中 CosXml
request
- 批量删除 COS 对象请求 DeleteMultiObjectRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetObjectACLResult getObjectACL(GetObjectACLRequest request) throws CosXmlClientException, CosXmlServiceException
获取 COS 对象的访问权限信息(Access Control List, ACL)的同步方法.
详细介绍,请查看:CosXml.getObjectACL(GetObjectACLRequest)
getObjectACL
在接口中 CosXml
request
- 获取 COS 对象的 ACL 请求 GetObjectACLRequest
GetObjectACLResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getObjectACLAsync(GetObjectACLRequest request, CosXmlResultListener cosXmlResultListener)
获取 COS 对象的访问权限信息(Access Control List, ACL)的异步方法.
详细介绍,请查看:CosXml.getObjectACLAsync(GetObjectACLRequest request, CosXmlResultListener cosXmlResultListener)
getObjectACLAsync
在接口中 CosXml
request
- 获取 COS 对象的 ACL 请求 GetObjectACLRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public OptionObjectResult optionObject(OptionObjectRequest request) throws CosXmlClientException, CosXmlServiceException
COS 对象的跨域访问配置预请求的同步方法.
详细介绍,请查看:CosXml.optionObject(OptionObjectRequest)
optionObject
在接口中 CosXml
request
- COS 对象的跨域访问配置预请求 OptionObjectRequest
OptionObjectResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void optionObjectAsync(OptionObjectRequest request, CosXmlResultListener cosXmlResultListener)
COS 对象的跨域访问配置预请求的异步方法.
详细介绍,请查看:CosXml.optionObjectAsync(OptionObjectRequest request, CosXmlResultListener cosXmlResultListener)
optionObjectAsync
在接口中 CosXml
request
- COS 对象的跨域访问配置预请求 OptionObjectRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutObjectACLResult putObjectACL(PutObjectACLRequest request) throws CosXmlClientException, CosXmlServiceException
设置 COS 对象的访问权限信息(Access Control List, ACL)的同步方法.
详细介绍,请查看:CosXml.putObjectACL(PutObjectACLRequest)
putObjectACL
在接口中 CosXml
request
- 设置 COS 对象的 ACL 请求 PutObjectACLRequest
PutObjectACLResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putObjectACLAsync(PutObjectACLRequest request, CosXmlResultListener cosXmlResultListener)
设置 COS 对象的访问权限信息(Access Control List, ACL)的异步方法.
详细介绍,请查看:CosXml.putObjectACLAsync(PutObjectACLRequest request, CosXmlResultListener cosXmlResultListener)
putObjectACLAsync
在接口中 CosXml
request
- 设置COS 对象的ACL请求 PutObjectACLRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutObjectTaggingResult putObjectTagging(PutObjectTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
设置对象标签的同步方法。
详细介绍,请查看:CosXml.putObjectTagging(PutObjectTaggingRequest)
putObjectTagging
在接口中 CosXml
request
- 设置对象标签请求 PutObjectTaggingRequest
PutObjectTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putObjectTaggingAsync(PutObjectTaggingRequest request, CosXmlResultListener cosXmlResultListener)
设置对象标签的异步方法。
详细介绍,请查看:CosXml.putObjectTaggingAsync(PutObjectTaggingRequest, CosXmlResultListener)
putObjectTaggingAsync
在接口中 CosXml
request
- 设置对象标签请求 PutObjectTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetObjectTaggingResult getObjectTagging(GetObjectTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
获取对象标签的同步方法。
详细介绍,请查看:CosXml.getObjectTagging(GetObjectTaggingRequest)
getObjectTagging
在接口中 CosXml
request
- 获取对象标签请求 GetObjectTaggingRequest
GetObjectTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getObjectTaggingAsync(GetObjectTaggingRequest request, CosXmlResultListener cosXmlResultListener)
获取对象标签的异步方法。
详细介绍,请查看:CosXml.getObjectTaggingAsync(GetObjectTaggingRequest, CosXmlResultListener)
getObjectTaggingAsync
在接口中 CosXml
request
- 获取对象标签请求 GetObjectTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteObjectTaggingResult deleteObjectTagging(DeleteObjectTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
删除对象标签的同步方法。
详细介绍,请查看:CosXml.deleteObjectTagging(DeleteObjectTaggingRequest)
deleteObjectTagging
在接口中 CosXml
request
- 删除对象标签请求 DeleteObjectTaggingRequest
DeleteObjectTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteObjectTaggingAsync(DeleteObjectTaggingRequest request, CosXmlResultListener cosXmlResultListener)
删除对象标签的异步方法。
详细介绍,请查看:CosXml.deleteObjectTaggingAsync(DeleteObjectTaggingRequest, CosXmlResultListener)
deleteObjectTaggingAsync
在接口中 CosXml
request
- 删除对象标签请求 DeleteObjectTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public RestoreResult restoreObject(RestoreRequest request) throws CosXmlClientException, CosXmlServiceException
CosXml
恢复归档对象的同步方法.
该请求用于将归档类型的对象取回。
API 接口:https://cloud.tencent.com/document/product/436/12633.
SDK 示例:恢复归档对象示例
restoreObject
在接口中 CosXml
request
- 恢复归档对象请求 RestoreRequest
RestoreResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void restoreObjectAsync(RestoreRequest request, CosXmlResultListener cosXmlResultListener)
CosXml
恢复归档对象的异步方法.
该请求用于将归档类型的对象取回。
API 接口:https://cloud.tencent.com/document/product/436/12633.
SDK 示例:恢复归档对象示例
restoreObjectAsync
在接口中 CosXml
request
- 恢复归档对象请求 RestoreRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketCORSResult deleteBucketCORS(DeleteBucketCORSRequest request) throws CosXmlClientException, CosXmlServiceException
删除跨域访问配置信息的同步方法.
详细介绍,请查看:CosXml.deleteBucketCORS(DeleteBucketCORSRequest request)
deleteBucketCORS
在接口中 CosXml
request
- 删除跨域访问配置信息请求 DeleteBucketCORSRequest
DeleteBucketCORSResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketCORSAsync(DeleteBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
删除跨域访问配置信息的异步方法.
详细介绍,请查看:CosXml.deleteBucketCORSAsync(DeleteBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
deleteBucketCORSAsync
在接口中 CosXml
request
- 删除跨域访问配置信息请求 DeleteBucketCORSRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketLifecycleResult deleteBucketLifecycle(DeleteBucketLifecycleRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶(Bucket) 的生命周期配置的同步方法.
详细介绍,请查看:CosXml.deleteBucketLifecycle(DeleteBucketLifecycleRequest request)
deleteBucketLifecycle
在接口中 CosXml
request
- 删除 Bucket 的生命周期配置请求 GetServiceRequest
DeleteBucketLifecycleResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketLifecycleAsync(DeleteBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶(Bucket) 的生命周期配置的异步方法.
详细介绍,请查看:CosXml.deleteBucketLifecycleAsync(DeleteBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
deleteBucketLifecycleAsync
在接口中 CosXml
request
- 删除 Bucket 的生命周期配置请求 DeleteBucketLifecycleRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketResult deleteBucket(DeleteBucketRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶 (Bucket)的同步方法.
详细介绍,请查看:CosXml.deleteBucket(DeleteBucketRequest request)
deleteBucket
在接口中 CosXml
request
- 删除 Bucket 请求 DeleteBucketRequest
DeleteBucketResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketAsync(DeleteBucketRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶 (Bucket)的异步方法.
详细介绍,请查看:CosXml.deleteBucketAsync(DeleteBucketRequest request, CosXmlResultListener cosXmlResultListener)
deleteBucketAsync
在接口中 CosXml
request
- 删除 Bucket 请求 GetServiceRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketACLResult getBucketACL(GetBucketACLRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶(Bucket) 的访问权限信息(Access Control List, ACL)的同步方法.
详细介绍,请查看:CosXml.getBucketACL(GetBucketACLRequest request)
getBucketACL
在接口中 CosXml
request
- 获取 Bucket 的 ACL 请求 GetBucketACLRequest
GetBucketACLResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketACLAsync(GetBucketACLRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶(Bucket) 的访问权限信息(Access Control List, ACL)的异步方法.
详细介绍,请查看:CosXml.getBucketACLAsync(GetBucketACLRequest request, CosXmlResultListener cosXmlResultListener)
getBucketACLAsync
在接口中 CosXml
request
- 获取 Bucket 的 ACL 请求 GetBucketACLRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketCORSResult getBucketCORS(GetBucketCORSRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶(Bucket) 跨域访问配置信息的同步方法.
详细介绍,请查看:CosXml.getBucketCORS(GetBucketCORSRequest request)
getBucketCORS
在接口中 CosXml
request
- 查询 Bucket 跨域访问配置信息请求 GetBucketCORSRequest
GetBucketCORSResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketCORSAsync(GetBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶(Bucket) 跨域访问配置信息的异步方法.
详细介绍,请查看:CosXml.getBucketCORSAsync(GetBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
getBucketCORSAsync
在接口中 CosXml
request
- 查询 Bucket 跨域访问配置信息请求 GetBucketCORSRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketLifecycleResult getBucketLifecycle(GetBucketLifecycleRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶(Bucket) 的生命周期配置的同步方法.
详细介绍,请查看:CosXml.getBucketLifecycle(GetBucketLifecycleRequest request)
getBucketLifecycle
在接口中 CosXml
request
- 查询 Bucket 的生命周期配置请求 GetBucketLifecycleRequest
GetBucketLifecycleResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketLifecycleAsync(GetBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶(Bucket) 的生命周期配置的异步方法.
详细介绍,请查看:CosXml.getBucketLifecycleAsync(GetBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
getBucketLifecycleAsync
在接口中 CosXml
request
- 查询 Bucket 的生命周期配置请求 GetBucketLifecycleRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketLocationResult getBucketLocation(GetBucketLocationRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶(Bucket) 所在的地域信息的同步方法.
详细介绍,请查看:CosXml.getBucketLocation(GetBucketLocationRequest request)
getBucketLocation
在接口中 CosXml
request
- 获取 Bucket 所在的地域信息请求 GetBucketLocationRequest
GetBucketLocationResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketLocationAsync(GetBucketLocationRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶(Bucket) 所在的地域信息的异步方法.
详细介绍,请查看:CosXml.getBucketLocationAsync(GetBucketLocationRequest request, CosXmlResultListener cosXmlResultListener)
getBucketLocationAsync
在接口中 CosXml
request
- 获取 Bucket 所在的地域信息请求 GetBucketLocationRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketResult getBucket(GetBucketRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶(Bucket) 下的部分或者全部对象的同步方法.
详细介绍,请查看:CosXml.getBucket(GetBucketRequest request)
getBucket
在接口中 CosXml
request
- 查询 Bucket 下的部分或者全部对象请求 GetBucketRequest
GetBucketResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketAsync(GetBucketRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶(Bucket) 下的部分或者全部对象的异步方法.
详细介绍,请查看:CosXml.getBucketAsync(GetBucketRequest request, CosXmlResultListener cosXmlResultListener)
getBucketAsync
在接口中 CosXml
request
- 查询 Bucket 下的部分或者全部对象请求 GetBucketRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public HeadBucketResult headBucket(HeadBucketRequest request) throws CosXmlClientException, CosXmlServiceException
存储桶(Bucket) 是否存在的同步方法.
详细介绍,请查看:CosXml.headBucket(HeadBucketRequest request)
headBucket
在接口中 CosXml
request
- Bucket 是否存在请求 HeadBucketRequest
HeadBucketResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void headBucketAsync(HeadBucketRequest request, CosXmlResultListener cosXmlResultListener)
存储桶(Bucket)是否存在的异步方法.
详细介绍,请查看:CosXml.headBucketAsync(HeadBucketRequest request, CosXmlResultListener cosXmlResultListener)
headBucketAsync
在接口中 CosXml
request
- Bucket 是否存在请求 HeadBucketRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketACLResult putBucketACL(PutBucketACLRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶(Bucket) 的访问权限(Access Control List, ACL)的同步方法.
详细介绍,请查看:CosXml.putBucketACL(PutBucketACLRequest request)
putBucketACL
在接口中 CosXml
request
- 设置 Bucket 的ACL请求 PutBucketACLRequest
PutBucketACLResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketACLAsync(PutBucketACLRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶(Bucket) 的访问权限(Access Control List, ACL)的异步方法.
详细介绍,请查看:CosXml.putBucketACLAsync(PutBucketACLRequest request, CosXmlResultListener cosXmlResultListener)
putBucketACLAsync
在接口中 CosXml
request
- 设置 Bucket 的ACL请求 PutBucketACLRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketAccelerateResult getBucketAccelerate(GetBucketAccelerateRequest request) throws CosXmlClientException, CosXmlServiceException
getBucketAccelerate
在接口中 CosXml
CosXmlClientException
CosXmlServiceException
public void getBucketAccelerateAsync(GetBucketAccelerateRequest request, CosXmlResultListener cosXmlResultListener)
getBucketAccelerateAsync
在接口中 CosXml
public PutBucketAccelerateResult putBucketAccelerate(PutBucketAccelerateRequest request) throws CosXmlClientException, CosXmlServiceException
putBucketAccelerate
在接口中 CosXml
CosXmlClientException
CosXmlServiceException
public void putBucketAccelerateAsync(PutBucketAccelerateRequest request, CosXmlResultListener cosXmlResultListener)
putBucketAccelerateAsync
在接口中 CosXml
public PutBucketCORSResult putBucketCORS(PutBucketCORSRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶(Bucket) 的跨域配置信息的同步方法.
详细介绍,请查看:CosXml.putBucketCORS(PutBucketCORSRequest request)
putBucketCORS
在接口中 CosXml
request
- 设置 Bucket 的跨域配置信息请求 PutBucketCORSRequest
PutBucketCORSResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketCORSAsync(PutBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶(Bucket) 的跨域配置信息的异步方法.
详细介绍,请查看:CosXml.putBucketCORSAsync(PutBucketCORSRequest request, CosXmlResultListener cosXmlResultListener)
putBucketCORSAsync
在接口中 CosXml
request
- 设置 Bucket 的跨域配置信息请求 PutBucketCORSRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketLifecycleResult putBucketLifecycle(PutBucketLifecycleRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶(Bucket) 生命周期配置的同步方法.
详细介绍,请查看:CosXml.putBucketLifecycle(PutBucketLifecycleRequest request)
putBucketLifecycle
在接口中 CosXml
request
- Bucket 生命周期配置请求 PutBucketLifecycleRequest
PutBucketLifecycleResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketLifecycleAsync(PutBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶(Bucket) 生命周期配置的异步方法.
详细介绍,请查看:CosXml.putBucketLifecycleAsync(PutBucketLifecycleRequest request, CosXmlResultListener cosXmlResultListener)
putBucketLifecycleAsync
在接口中 CosXml
request
- Bucket 生命周期配置请求 PutBucketLifecycleRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketResult putBucket(PutBucketRequest request) throws CosXmlClientException, CosXmlServiceException
创建存储桶(Bucket)的同步方法.
详细介绍,请查看:CosXml.putBucket(PutBucketRequest request)
putBucket
在接口中 CosXml
request
- 创建 Bucket请求 PutBucketRequest
PutBucketResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketAsync(PutBucketRequest request, CosXmlResultListener cosXmlResultListener)
创建存储桶(Bucket)的异步方法.
详细介绍,请查看:CosXml.putBucketAsync(PutBucketRequest request, CosXmlResultListener cosXmlResultListener)
putBucketAsync
在接口中 CosXml
request
- 创建 Bucket 请求 PutBucketRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketVersioningResult getBucketVersioning(GetBucketVersioningRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶(Bucket)版本控制信息的同步方法.
详细介绍,请查看:CosXml.getBucketVersioning(GetBucketVersioningRequest)
getBucketVersioning
在接口中 CosXml
request
- 获取 Bucket 版本控制信息请求 GetBucketVersioningRequest
GetBucketVersioningResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketVersioningAsync(GetBucketVersioningRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶(Bucket)版本控制信息的异步方法.
详细介绍,请查看:CosXml.getBucketVersioningAsync(GetBucketVersioningRequest , CosXmlResultListener)
getBucketVersioningAsync
在接口中 CosXml
request
- 获取 Bucket 版本控制信息请求 GetBucketVersioningRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketVersioningResult putBucketVersioning(PutBucketVersioningRequest request) throws CosXmlClientException, CosXmlServiceException
存储桶(Bucket)版本控制的同步方法.
详细介绍,请查看:CosXml.putBucketVersioning(PutBucketVersioningRequest)
putBucketVersioning
在接口中 CosXml
request
- Bucket 版本控制启用或者暂停请求 PutBucketVersioningRequest
PutBucketVersioningResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketVersionAsync(PutBucketVersioningRequest request, CosXmlResultListener cosXmlResultListener)
存储桶(Bucket)版本控制的异步方法.
详细介绍,请查看:CosXml.putBucketVersionAsync(PutBucketVersioningRequest, CosXmlResultListener)
putBucketVersionAsync
在接口中 CosXml
request
- Bucket 版本控制启用或者暂停请求 PutBucketVersioningRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketReplicationResult getBucketReplication(GetBucketReplicationRequest request) throws CosXmlClientException, CosXmlServiceException
获取跨区域复制配置信息的同步方法.
详细介绍,请查看:CosXml.getBucketReplication(GetBucketReplicationRequest)
getBucketReplication
在接口中 CosXml
request
- 获取跨区域复制配置信息请求 GetBucketReplicationRequest
GetBucketReplicationResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketReplicationAsync(GetBucketReplicationRequest request, CosXmlResultListener cosXmlResultListener)
获取跨区域复制配置信息的异步方法.
详细介绍,请查看:CosXml.getBucketReplicationAsync(GetBucketReplicationRequest,CosXmlResultListener)
getBucketReplicationAsync
在接口中 CosXml
request
- 获取跨区域复制配置信息请求 GetBucketReplicationRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketReplicationResult putBucketReplication(PutBucketReplicationRequest request) throws CosXmlClientException, CosXmlServiceException
配置跨区域复制的同步方法.
详细介绍,请查看:CosXml.putBucketReplication(PutBucketReplicationRequest)
putBucketReplication
在接口中 CosXml
request
- 配置跨区域复制请求 PutBucketReplicationRequest
PutBucketReplicationResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketReplicationAsync(PutBucketReplicationRequest request, CosXmlResultListener cosXmlResultListener)
配置跨区域复制的异步方法.
详细介绍,请查看:CosXml.putBucketReplicationAsync(PutBucketReplicationRequest, CosXmlResultListener)
putBucketReplicationAsync
在接口中 CosXml
request
- 配置跨区域复制请求 PutBucketReplicationRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketReplicationResult deleteBucketReplication(DeleteBucketReplicationRequest request) throws CosXmlClientException, CosXmlServiceException
删除跨区域复制配置的同步方法.
详细介绍,请查看:CosXml.deleteBucketReplication(DeleteBucketReplicationRequest)
deleteBucketReplication
在接口中 CosXml
request
- 删除跨区域复制配置请求 DeleteBucketReplicationRequest
DeleteBucketReplicationResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketReplicationAsync(DeleteBucketReplicationRequest request, CosXmlResultListener cosXmlResultListener)
删除跨区域复制配置的异步方法.
详细介绍,请查看:CosXml.deleteBucketReplicationAsync(DeleteBucketReplicationRequest, CosXmlResultListener)
deleteBucketReplicationAsync
在接口中 CosXml
request
- 删除跨区域复制配置请求 DeleteBucketReplicationRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public ListBucketVersionsResult listBucketVersions(ListBucketVersionsRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶(Bucket)所有或者部分对象的版本信息的同步方法.
详细介绍,请查看:CosXml.listBucketVersions(ListBucketVersionsRequest)
listBucketVersions
在接口中 CosXml
request
- 获取 Bucket 所有或者部分对象的版本信息请求 ListBucketVersionsRequest
ListBucketVersionsResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void listBucketVersionsAsync(ListBucketVersionsRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶(Bucket)所有或者部分对象的版本信息的异步方法.
详细介绍,请查看: CosXml.listBucketVersionsAsync(ListBucketVersionsRequest, CosXmlResultListener)
listBucketVersionsAsync
在接口中 CosXml
request
- 获取 Bucket 所有或者部分对象的版本信息请求 ListBucketVersionsRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public boolean doesBucketExist(java.lang.String bucketName) throws CosXmlClientException, CosXmlServiceException
通过封装 HeadBucketRequest 请求来判断 bucket 是否存在。
详细介绍,请查看:CosXml.doesBucketExist(String)
doesBucketExist
在接口中 CosXml
bucketName
- bucket 名称,如 bucket-1250000000 等CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void doesBucketExistAsync(java.lang.String bucketName, CosXmlBooleanListener booleanListener)
通过封装 HeadBucketRequest 请求来判断 bucket 是否存在。
详细介绍,请查看:CosXml.doesBucketExistAsync(String, CosXmlBooleanListener)
doesBucketExistAsync
在接口中 CosXml
bucketName
- bucket 名称,如 bucket-1250000000 等booleanListener
- 结果回调函数public boolean doesObjectExist(java.lang.String bucketName, java.lang.String objectName) throws CosXmlClientException, CosXmlServiceException
通过封装 HeadObjectRequest 请求来判断对象是否存在。
注意只能在单个 region 下判断,无法一次性判断所有的 region。
详细介绍,请查看: CosXml.doesObjectExist(String, String)
doesObjectExist
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngCosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void doesObjectExistAsync(java.lang.String bucketName, java.lang.String objectName, CosXmlBooleanListener booleanListener)
通过封装 HeadObjectRequest 请求来判断对象是否存在。
注意只能在单个 region 下判断,无法一次性判断所有的 region。
详细介绍,请查看: CosXml.doesObjectExistAsync(String, String, CosXmlBooleanListener)
doesObjectExistAsync
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngbooleanListener
- 结果回调函数public boolean deleteObject(java.lang.String bucketName, java.lang.String objectName) throws CosXmlClientException, CosXmlServiceException
通过封装 DeleteObjectRequest 请求来删除对象。
详细介绍,请查看:CosXml.deleteObject(String, String)
deleteObject
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngCosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteObjectAsync(java.lang.String bucketName, java.lang.String objectName, CosXmlBooleanListener booleanListener)
通过封装 DeleteObjectRequest 请求来删除对象。
详细介绍,请查看:CosXml.deleteObjectAsync(String, String, CosXmlBooleanListener)
deleteObjectAsync
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngbooleanListener
- 结果回调函数@Deprecated public boolean updateObjectMeta(java.lang.String bucketName, java.lang.String objectName, COSMetaData metaData) throws CosXmlClientException, CosXmlServiceException
更新对象元数据的同步方法。 建议使用updateObjectMetaData(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData)
updateObjectMeta(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData)
:bucketName不含appid,比如:test
updateObjectMetaData(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData)
:bucketName包含appid,比如:test-1250000000
CosXml.updateObjectMeta(String, String, COSMetaData)
updateObjectMeta
在接口中 CosXml
bucketName
- bucket 名称, 如 testobjectName
- 对象在 COS 上的路径,比如 image/me.pngmetaData
- 对象元数据CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常@Deprecated public void updateObjectMetaAsync(java.lang.String bucketName, java.lang.String objectName, COSMetaData metaData, CosXmlBooleanListener booleanListener)
更新对象元数据的异步方法。 建议使用updateObjectMetaDataAsync(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData, com.tencent.cos.xml.listener.CosXmlBooleanListener)
updateObjectMetaAsync(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData, com.tencent.cos.xml.listener.CosXmlBooleanListener)
:bucketName不含appid,比如:test
updateObjectMetaDataAsync(java.lang.String, java.lang.String, com.tencent.cos.xml.model.tag.COSMetaData, com.tencent.cos.xml.listener.CosXmlBooleanListener)
:bucketName包含appid,比如:test-1250000000
CosXml.updateObjectMetaAsync(String, String, COSMetaData, CosXmlBooleanListener)
updateObjectMetaAsync
在接口中 CosXml
bucketName
- bucket 名称, 如 testobjectName
- 对象在 COS 上的路径,比如 image/me.pngmetaData
- 对象元数据booleanListener
- 结果回调函数public boolean updateObjectMetaData(java.lang.String bucketName, java.lang.String objectName, COSMetaData metaData) throws CosXmlClientException, CosXmlServiceException
更新对象元数据的同步方法。
详细介绍,请查看:CosXml.updateObjectMetaData(String, String, COSMetaData)
updateObjectMetaData
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngmetaData
- 对象元数据CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void updateObjectMetaDataAsync(java.lang.String bucketName, java.lang.String objectName, COSMetaData metaData, CosXmlBooleanListener booleanListener)
更新对象元数据的异步方法
详细介绍,请查看:CosXml.updateObjectMetaDataAsync(String, String, COSMetaData, CosXmlBooleanListener)
updateObjectMetaDataAsync
在接口中 CosXml
bucketName
- bucket 名称, 如 test-1250000000objectName
- 对象在 COS 上的路径,比如 image/me.pngmetaData
- 对象元数据booleanListener
- 结果回调函数public PutBucketWebsiteResult putBucketWebsite(PutBucketWebsiteRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶静态网站参数的同步方法。
详细介绍,请查看:CosXml.putBucketWebsite(PutBucketWebsiteRequest)
putBucketWebsite
在接口中 CosXml
request
- 设置存储桶静态网站请求 PutBucketWebsiteRequest
PutBucketWebsiteResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketWebsiteAsync(PutBucketWebsiteRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶静态网站参数的异步方法。
详细介绍,请查看:CosXml.putBucketWebsiteAsync(PutBucketWebsiteRequest, CosXmlResultListener)
putBucketWebsiteAsync
在接口中 CosXml
request
- 设置存储桶静态网站请求 PutBucketWebsiteRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketWebsiteResult getBucketWebsite(GetBucketWebsiteRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶静态网站参数的同步方法。
详细介绍,请查看:CosXml.getBucketWebsite(GetBucketWebsiteRequest)
getBucketWebsite
在接口中 CosXml
request
- 查询与存储桶关联的静态网站配置信息的请求 GetBucketWebsiteRequest
GetBucketWebsiteResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketWebsiteAsync(GetBucketWebsiteRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶静态网站参数的异步方法。
详细介绍,请查看:CosXml.getBucketWebsiteAsync(GetBucketWebsiteRequest, CosXmlResultListener)
getBucketWebsiteAsync
在接口中 CosXml
request
- 查询与存储桶关联的静态网站配置信息的请求 GetBucketWebsiteRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketWebsiteResult deleteBucketWebsite(DeleteBucketWebsiteRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶静态网站参数的同步方法。
详细介绍,请查看:CosXml.deleteBucketWebsite(DeleteBucketWebsiteRequest)
deleteBucketWebsite
在接口中 CosXml
request
- 删除存储桶中静态网站配置的请求 DeleteBucketWebsiteRequest
DeleteBucketWebsiteResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketWebsiteAsync(DeleteBucketWebsiteRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶静态网站参数的异步方法。
详细介绍,请查看:CosXml.deleteBucketWebsiteAsync(DeleteBucketWebsiteRequest, CosXmlResultListener)
deleteBucketWebsiteAsync
在接口中 CosXml
request
- 删除存储桶中静态网站配置的请求 DeleteBucketWebsiteRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketLoggingResult putBucketLogging(PutBucketLoggingRequest request) throws CosXmlClientException, CosXmlServiceException
CosXml.putBucketLogging(PutBucketLoggingRequest)
putBucketLogging
在接口中 CosXml
request
- 为源存储桶开启日志记录的请求 PutBucketLoggingRequest
PutBucketLoggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketLoggingAsync(PutBucketLoggingRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶日志记录的异步方法。
详细介绍,请查看:CosXml.putBucketLoggingAsync(PutBucketLoggingRequest, CosXmlResultListener)
putBucketLoggingAsync
在接口中 CosXml
request
- 为源存储桶开启日志记录的请求 PutBucketLoggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketLoggingResult getBucketLogging(GetBucketLoggingRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶日志记录的同步方法。
详细介绍,请查看:CosXml.getBucketLogging(GetBucketLoggingRequest)
getBucketLogging
在接口中 CosXml
request
- 用于查询指定存储桶日志配置信息的请求 GetBucketLoggingRequest
GetBucketLoggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketLoggingAsync(GetBucketLoggingRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶日志记录的异步方法。
详细介绍,请查看:CosXml.getBucketLoggingAsync(GetBucketLoggingRequest, CosXmlResultListener)
getBucketLoggingAsync
在接口中 CosXml
request
- 用于查询指定存储桶日志配置信息的请求 GetBucketLoggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketTaggingResult putBucketTagging(PutBucketTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶标签的同步方法。
详细介绍,请查看:CosXml.putBucketTagging(PutBucketTaggingRequest)
putBucketTagging
在接口中 CosXml
request
- 为已存在的存储桶设置标签的请求 PutBucketTaggingRequest
PutBucketTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketTaggingAsync(PutBucketTaggingRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶标签的异步方法。
详细介绍,请查看:CosXml.putBucketTaggingAsync(PutBucketTaggingRequest, CosXmlResultListener)
putBucketTaggingAsync
在接口中 CosXml
request
- 为已存在的存储桶设置标签的请求 PutBucketTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketTaggingResult getBucketTagging(GetBucketTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶标签的同步方法。
详细介绍,请查看:CosXml.getBucketTagging(GetBucketTaggingRequest)
getBucketTagging
在接口中 CosXml
request
- 查询存储桶标签的请求 GetBucketTaggingRequest
GetBucketTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketTaggingAsync(GetBucketTaggingRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶标签的异步方法。
详细介绍,请查看:CosXml.getBucketTaggingAsync(GetBucketTaggingRequest, CosXmlResultListener)
getBucketTaggingAsync
在接口中 CosXml
request
- 查询存储桶标签的请求 GetBucketTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketTaggingResult deleteBucketTagging(DeleteBucketTaggingRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶标签的同步方法。
详细介绍,请查看:CosXml.deleteBucketTagging(DeleteBucketTaggingRequest)
deleteBucketTagging
在接口中 CosXml
request
- 删除存储桶标签的请求 DeleteBucketTaggingRequest
DeleteBucketTaggingResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketTaggingAsync(DeleteBucketTaggingRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶标签的异步方法。
详细介绍,请查看:CosXml.deleteBucketTaggingAsync(DeleteBucketTaggingRequest, CosXmlResultListener)
deleteBucketTaggingAsync
在接口中 CosXml
request
- 删除存储桶标签的请求 DeleteBucketTaggingRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketInventoryResult putBucketInventory(PutBucketInventoryRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶清单的同步方法。
详细介绍,请查看:CosXml.putBucketInventory(PutBucketInventoryRequest)
putBucketInventory
在接口中 CosXml
request
- 在存储桶中创建清单任务的请求 PutBucketInventoryRequest
PutBucketInventoryResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketInventoryAsync(PutBucketInventoryRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶清单的异步方法。
详细介绍,请查看:CosXml.putBucketInventoryAsync(PutBucketInventoryRequest, CosXmlResultListener)
putBucketInventoryAsync
在接口中 CosXml
request
- 在存储桶中创建清单任务的请求 PutBucketInventoryRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketInventoryResult getBucketInventory(GetBucketInventoryRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶清单的同步方法。
详细介绍,请查看:CosXml.getBucketInventory(GetBucketInventoryRequest)
getBucketInventory
在接口中 CosXml
request
- 获取存储桶中清单任务的请求 GetBucketInventoryRequest
GetBucketInventoryResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketInventoryAsync(GetBucketInventoryRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶清单的异步方法。
详细介绍,请查看:CosXml.getBucketInventoryAsync(GetBucketInventoryRequest, CosXmlResultListener)
getBucketInventoryAsync
在接口中 CosXml
request
- 获取存储桶中清单任务的请求 GetBucketInventoryRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketInventoryResult deleteBucketInventory(DeleteBucketInventoryRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶清单的同步方法。
详细介绍,请查看:CosXml.deleteBucketInventory(DeleteBucketInventoryRequest)
deleteBucketInventory
在接口中 CosXml
request
- 删除存储桶中指定清单任务的请求 DeleteBucketInventoryRequest
DeleteBucketInventoryResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketInventoryAsync(DeleteBucketInventoryRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶清单的异步方法。
详细介绍,请查看:CosXml.deleteBucketInventoryAsync(DeleteBucketInventoryRequest, CosXmlResultListener)
deleteBucketInventoryAsync
在接口中 CosXml
request
- 删除存储桶中指定清单任务的请求 DeleteBucketInventoryRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public ListBucketInventoryResult listBucketInventory(ListBucketInventoryRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶清单的同步方法。
详细介绍,请查看:CosXml.listBucketInventory(ListBucketInventoryRequest)
listBucketInventory
在接口中 CosXml
request
- 查询存储桶中所有清单任务的请求 ListBucketInventoryRequest
ListBucketInventoryResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void listBucketInventoryAsync(ListBucketInventoryRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶清单的异步方法。
详细介绍,请查看:CosXml.listBucketInventoryAsync(ListBucketInventoryRequest, CosXmlResultListener)
listBucketInventoryAsync
在接口中 CosXml
request
- 查询存储桶中所有清单任务的请求 ListBucketInventoryRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketDomainResult getBucketDomain(GetBucketDomainRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶自定义域名的同步方法。
详细介绍,请查看:CosXml.getBucketDomain(GetBucketDomainRequest)
getBucketDomain
在接口中 CosXml
request
- 查询存储桶自定义域名信息的请求 GetBucketDomainRequest
GetBucketDomainResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketDomainAsync(GetBucketDomainRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶自定义域名的异步方法。
详细介绍,请查看:CosXml.getBucketDomainAsync(GetBucketDomainRequest, CosXmlResultListener)
getBucketDomainAsync
在接口中 CosXml
request
- 查询存储桶自定义域名信息的请求 GetBucketDomainRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketDomainResult deleteBucketDomain(DeleteBucketDomainRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶自定义域名的同步方法。
详细介绍,请查看:CosXml.deleteBucketDomain(DeleteBucketDomainRequest)
deleteBucketDomain
在接口中 CosXml
request
- 删除存储桶自定义域名信息的请求 DeleteBucketDomainRequest
DeleteBucketDomainResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketDomainAsync(DeleteBucketDomainRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶自定义域名的异步方法。
详细介绍,请查看:CosXml.deleteBucketDomainAsync(DeleteBucketDomainRequest, CosXmlResultListener)
deleteBucketDomainAsync
在接口中 CosXml
request
- 删除存储桶自定义域名信息的请求 DeleteBucketDomainRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketDomainResult putBucketDomain(PutBucketDomainRequest request) throws CosXmlClientException, CosXmlServiceException
查询存储桶清单的异步方法。
详细介绍,请查看:CosXml.listBucketInventoryAsync(ListBucketInventoryRequest, CosXmlResultListener)
putBucketDomain
在接口中 CosXml
request
- 为存储桶配置自定义域名的请求 PutBucketDomainRequest
PutBucketDomainResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketDomainAsync(PutBucketDomainRequest request, CosXmlResultListener cosXmlResultListener)
查询存储桶清单的异步方法。
详细介绍,请查看:CosXml.listBucketInventoryAsync(ListBucketInventoryRequest, CosXmlResultListener)
putBucketDomainAsync
在接口中 CosXml
request
- 为存储桶配置自定义域名的请求 PutBucketDomainRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketRefererResult putBucketReferer(PutBucketRefererRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶防盗链的同步方法。
详细介绍,请查看:CosXml.putBucketReferer(PutBucketRefererRequest)
putBucketReferer
在接口中 CosXml
request
- 设置存储桶防盗链请求 PutBucketRefererRequest
PutBucketRefererResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketRefererAsync(PutBucketRefererRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶防盗链的异步方法。
详细介绍,请查看:CosXml.putBucketRefererAsync(PutBucketRefererRequest, CosXmlResultListener)
putBucketRefererAsync
在接口中 CosXml
request
- 设置存储桶防盗链请求 PutBucketRefererRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketPolicyResult getBucketPolicy(GetBucketPolicyRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶权限策略的同步方法。
详细介绍,请查看:CosXml.getBucketPolicy(GetBucketPolicyRequest)
getBucketPolicy
在接口中 CosXml
request
- 获取存储桶权限策略配置的请求 GetBucketPolicyRequest
GetBucketPolicyResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketPolicyAsync(GetBucketPolicyRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶权限策略的异步方法。
详细介绍,请查看:CosXml.getBucketPolicyAsync(GetBucketPolicyRequest, CosXmlResultListener)
getBucketPolicyAsync
在接口中 CosXml
request
- 获取存储桶权限策略配置的请求 GetBucketPolicyRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketPolicyResult putBucketPolicy(PutBucketPolicyRequest request) throws CosXmlClientException, CosXmlServiceException
设置存储桶权限策略的同步方法。
详细介绍,请查看:CosXml.putBucketPolicy(PutBucketPolicyRequest)
putBucketPolicy
在接口中 CosXml
request
- 设置存储桶权限策略请求 PutBucketPolicyRequest
PutBucketPolicyResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketPolicyAsync(PutBucketPolicyRequest request, CosXmlResultListener cosXmlResultListener)
设置存储桶权限策略的异步方法。
详细介绍,请查看:CosXml.putBucketPolicyAsync(PutBucketPolicyRequest, CosXmlResultListener)
putBucketPolicyAsync
在接口中 CosXml
request
- 设置存储桶权限策略请求 PutBucketPolicyRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public DeleteBucketPolicyResult deleteBucketPolicy(DeleteBucketPolicyRequest request) throws CosXmlClientException, CosXmlServiceException
删除存储桶权限策略的同步方法。
详细介绍,请查看:CosXml.deleteBucketPolicy(DeleteBucketPolicyRequest)
deleteBucketPolicy
在接口中 CosXml
request
- 删除存储桶权限策略请求 DeleteBucketPolicyRequest
DeleteBucketPolicyResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void deleteBucketPolicyAsync(DeleteBucketPolicyRequest request, CosXmlResultListener cosXmlResultListener)
删除存储桶权限策略的异步方法。
详细介绍,请查看:CosXml.deleteBucketPolicyAsync(DeleteBucketPolicyRequest, CosXmlResultListener)
deleteBucketPolicyAsync
在接口中 CosXml
request
- 删除存储桶权限策略请求 DeleteBucketPolicyRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketRefererResult getBucketReferer(GetBucketRefererRequest request) throws CosXmlClientException, CosXmlServiceException
获取存储桶防盗链配置的同步方法。
详细介绍,请查看:CosXml.getBucketReferer(GetBucketRefererRequest)
getBucketReferer
在接口中 CosXml
request
- 获取存储桶防盗链配置的请求 GetBucketRefererRequest
GetBucketRefererResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketRefererAsync(GetBucketRefererRequest request, CosXmlResultListener cosXmlResultListener)
获取存储桶防盗链配置的异步方法。
详细介绍,请查看:CosXml.getBucketRefererAsync(GetBucketRefererRequest, CosXmlResultListener)
getBucketRefererAsync
在接口中 CosXml
request
- 查询与存储桶关联的静态网站配置信息的请求 GetBucketRefererRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public SelectObjectContentResult selectObjectContent(SelectObjectContentRequest request) throws CosXmlClientException, CosXmlServiceException
使用 SQL 语句检索内容的同步方法。
详细介绍,请查看:CosXml.selectObjectContent(SelectObjectContentRequest)
selectObjectContent
在接口中 CosXml
request
- 使用结构化查询语句从指定对象中检索内容的请求 SelectObjectContentRequest
SelectObjectContentResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void selectObjectContentAsync(SelectObjectContentRequest request, CosXmlResultListener cosXmlResultListener)
使用 SQL 语句检索内容的异步方法。
详细介绍,请查看:CosXml.selectObjectContentAsync(SelectObjectContentRequest, CosXmlResultListener)
selectObjectContentAsync
在接口中 CosXml
request
- 使用结构化查询语句从指定对象中检索内容的请求 SelectObjectContentRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketObjectVersionsResult getBucketObjectVersions(GetBucketObjectVersionsRequest getBucketObjectVersionsRequest) throws CosXmlClientException, CosXmlServiceException
拉取存储桶内的所有对象及其历史版本信息的同步方法。
详细介绍,请查看:CosXml.getBucketObjectVersions(GetBucketObjectVersionsRequest)
getBucketObjectVersions
在接口中 CosXml
getBucketObjectVersionsRequest
- 拉取存储桶内的所有对象及其历史版本信息的请求 GetBucketObjectVersionsRequest
GetBucketObjectVersionsResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketObjectVersionsAsync(GetBucketObjectVersionsRequest getBucketObjectVersionsRequest, CosXmlResultListener cosXmlResultListener)
拉取存储桶内的所有对象及其历史版本信息的异步方法。
详细介绍,请查看:CosXml.getBucketObjectVersionsAsync(GetBucketObjectVersionsRequest, CosXmlResultListener)
getBucketObjectVersionsAsync
在接口中 CosXml
getBucketObjectVersionsRequest
- 拉取存储桶内的所有对象及其历史版本信息的请求 GetBucketObjectVersionsRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PutBucketIntelligentTieringResult putBucketIntelligentTiering(PutBucketIntelligentTieringRequest putBucketIntelligentTieringRequest) throws CosXmlClientException, CosXmlServiceException
拉取存储桶内的所有对象及其历史版本信息的同步方法。
详细介绍,请查看:CosXml.getBucketObjectVersions(GetBucketObjectVersionsRequest)
putBucketIntelligentTiering
在接口中 CosXml
putBucketIntelligentTieringRequest
- 启用存储桶智能分层存储配置能力的请求 PutBucketIntelligentTieringRequest
PutBucketIntelligentTieringResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void putBucketIntelligentTieringAsync(PutBucketIntelligentTieringRequest putBucketIntelligentTieringRequest, CosXmlResultListener cosXmlResultListener)
拉取存储桶内的所有对象及其历史版本信息的异步方法。
详细介绍,请查看:CosXml.getBucketObjectVersionsAsync(GetBucketObjectVersionsRequest, CosXmlResultListener)
putBucketIntelligentTieringAsync
在接口中 CosXml
putBucketIntelligentTieringRequest
- 启用存储桶智能分层存储配置能力的请求 PutBucketIntelligentTieringRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetBucketIntelligentTieringResult getBucketIntelligentTiering(GetBucketIntelligentTieringRequest request) throws CosXmlClientException, CosXmlServiceException
CosXml
获取存储桶智能分层存储配置能力的同步方法.
API 接口:
getBucketIntelligentTiering
在接口中 CosXml
request
- 启用存储桶智能分层存储配置能力的请求 GetBucketIntelligentTieringRequest
GetBucketIntelligentTieringResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getBucketIntelligentTieringAsync(GetBucketIntelligentTieringRequest request, CosXmlResultListener resultListener)
CosXml
取存储桶智能分层存储配置能力的异步方法.
API 接口:
getBucketIntelligentTieringAsync
在接口中 CosXml
request
- 启用存储桶智能分层存储配置能力的请求 GetBucketIntelligentTieringRequest
resultListener
- 请求回调结果 CosXmlResultListener
public PreviewDocumentResult previewDocument(PreviewDocumentRequest request) throws CosXmlClientException, CosXmlServiceException
预览文档的同步方法。
previewDocument
在接口中 CosXml
request
- 预览文档的请求 PreviewDocumentRequest
PreviewDocumentResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void previewDocumentAsync(PreviewDocumentRequest request, CosXmlResultListener cosXmlResultListener)
预览文档的异步方法
previewDocumentAsync
在接口中 CosXml
request
- 预览文档的请求 PreviewDocumentRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PreviewDocumentInHtmlResult previewDocumentInHtml(PreviewDocumentInHtmlRequest request) throws CosXmlClientException, CosXmlServiceException
以HTML格式预览文档的同步方法。
previewDocumentInHtml
在接口中 CosXml
request
- 以HTML格式预览文档的请求 PreviewDocumentInHtmlRequest
PreviewDocumentInHtmlResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void previewDocumentInHtmlAsync(PreviewDocumentInHtmlRequest request, CosXmlResultListener cosXmlResultListener)
以HTML格式预览文档的异步方法
previewDocumentInHtmlAsync
在接口中 CosXml
request
- 以HTML格式预览文档的请求 PreviewDocumentInHtmlRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public PreviewDocumentInHtmlLinkResult previewDocumentInHtmlLink(PreviewDocumentInHtmlLinkRequest request) throws CosXmlClientException, CosXmlServiceException
以HTML格式链接预览文档的同步方法。
previewDocumentInHtmlLink
在接口中 CosXml
request
- 以HTML格式链接预览文档的请求 PreviewDocumentInHtmlLinkRequest
PreviewDocumentInHtmlLinkResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void previewDocumentInHtmlLinkAsync(PreviewDocumentInHtmlLinkRequest request, CosXmlResultListener cosXmlResultListener)
以HTML格式链接预览文档的异步方法
previewDocumentInHtmlLinkAsync
在接口中 CosXml
request
- 以HTML格式链接预览文档的请求 PreviewDocumentInHtmlLinkRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public byte[] previewDocumentInHtmlBytes(java.lang.String bucketName, java.lang.String objectName) throws CosXmlClientException, CosXmlServiceException
以HTML格式直出内容预览文档到字节数组
previewDocumentInHtmlBytes
在接口中 CosXml
bucketName
- 存储桶名称objectName
- 对象远端路径,即存储到 COS 上的绝对路径CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void formatConversionAsync(FormatConversionRequest request, CosXmlResultListener cosXmlResultListener)
public GetSnapshotResult getSnapshot(GetSnapshotRequest request) throws CosXmlClientException, CosXmlServiceException
获取截图的同步方法
getSnapshot
在接口中 CosXml
request
- 获取截图的同步方法 GetSnapshotRequest
GetSnapshotResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getSnapshotAsync(GetSnapshotRequest request, CosXmlResultListener cosXmlResultListener)
获取截图的异步方法
getSnapshotAsync
在接口中 CosXml
request
- 获取截图的异步方法 GetSnapshotRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetMediaInfoResult getMediaInfo(GetMediaInfoRequest request) throws CosXmlClientException, CosXmlServiceException
获取媒体文件信息的同步方法。
详细介绍,请查看:CosXml.getMediaInfo(GetMediaInfoRequest)
getMediaInfo
在接口中 CosXml
request
- 获取媒体文件信息的请求 GetMediaInfoRequest
GetMediaInfoResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getMediaInfoAsync(GetMediaInfoRequest request, CosXmlResultListener cosXmlResultListener)
获取媒体文件信息的异步方法。
详细介绍,请查看:CosXml.getMediaInfoAsync(GetMediaInfoRequest, CosXmlResultListener)
getMediaInfoAsync
在接口中 CosXml
request
- 获取媒体文件信息的请求 GetMediaInfoRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetDescribeMediaBucketsResult getDescribeMediaBuckets(GetDescribeMediaBucketsRequest request) throws CosXmlClientException, CosXmlServiceException
查询已经开通媒体处理功能的存储桶的同步方法。
详细介绍,请查看:CosXml.getDescribeMediaBuckets(GetDescribeMediaBucketsRequest)
getDescribeMediaBuckets
在接口中 CosXml
request
- 获取存储桶防盗链配置的请求 GetDescribeMediaBucketsRequest
GetDescribeMediaBucketsResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getDescribeMediaBucketsAsync(GetDescribeMediaBucketsRequest request, CosXmlResultListener cosXmlResultListener)
查询已经开通媒体处理功能的存储桶的异步方法。
详细介绍,请查看:CosXml.getDescribeMediaBucketsAsync(GetDescribeMediaBucketsRequest, CosXmlResultListener)
getDescribeMediaBucketsAsync
在接口中 CosXml
request
- 查询已经开通媒体处理功能的存储桶的请求 GetDescribeMediaBucketsRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetPrivateM3U8Result getPrivateM3U8(GetPrivateM3U8Request request) throws CosXmlClientException, CosXmlServiceException
GetPrivateM3U8 接口用于获取私有 M3U8 ts 资源的下载授权。(此方式通过对象存储转发请求至数据万象)的同步方法.
getPrivateM3U8
在接口中 CosXml
request
- GetPrivateM3U8 接口用于获取私有 M3U8 ts 资源的下载授权。(此方式通过对象存储转发请求至数据万象)请求 GetPrivateM3U8Request
GetPrivateM3U8Result
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getPrivateM3U8Async(GetPrivateM3U8Request request, CosXmlResultListener cosXmlResultListener)
GetPrivateM3U8 接口用于获取私有 M3U8 ts 资源的下载授权。(此方式通过对象存储转发请求至数据万象)的异步方法.
getPrivateM3U8Async
在接口中 CosXml
request
- GetPrivateM3U8 接口用于获取私有 M3U8 ts 资源的下载授权。(此方式通过对象存储转发请求至数据万象)请求 GetPrivateM3U8Request
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
public GetWorkflowDetailResult getWorkflowDetail(GetWorkflowDetailRequest request) throws CosXmlClientException, CosXmlServiceException
获取工作流实例详情的同步方法.
getWorkflowDetail
在接口中 CosXml
request
- 获取工作流实例详情请求 GetWorkflowDetailRequest
GetWorkflowDetailResult
CosXmlClientException
- 客户端异常CosXmlServiceException
- 服务端异常public void getWorkflowDetailAsync(GetWorkflowDetailRequest request, CosXmlResultListener cosXmlResultListener)
获取工作流实例详情的异步方法.
getWorkflowDetailAsync
在接口中 CosXml
request
- 获取工作流实例详情请求 GetWorkflowDetailRequest
cosXmlResultListener
- 请求回调结果 CosXmlResultListener
protected <T1 extends CosXmlRequest,T2 extends CosXmlResult> boolean buildHttpRequestBodyConverter(T1 cosXmlRequest, T2 cosXmlResult, QCloudHttpRequest.Builder<T2> httpRequestBuilder)
protected java.lang.String getRequestHost(CosXmlRequest request) throws CosXmlClientException
getRequestHost
在类中 CosXmlBaseService
CosXmlClientException
public void setServiceDomain(java.lang.String domain)
domain
- GetService 请求的域名