public class Bucket extends Object
EvnContext evn = new EvnContext("ACCESS_KEY_ID_EXAMPLE", "SECRET_ACCESS_KEY_EXAMPLE");
String zoneName = "pek3a";
String bucketName = "testBucketName";
Bucket bucket = new Bucket(evn, zoneKey, bucketName);
Now you can use the object bucket to do the operations.| 限定符和类型 | 类和说明 |
|---|---|
static class |
Bucket.AbortMultipartUploadInput
AbortMultipartUploadInput: an input stream of the bucket.
|
static class |
Bucket.AbortMultipartUploadOutput
AbortMultipartUploadOutput: an output stream of the bucket.
|
static class |
Bucket.CompleteMultipartUploadInput
CompleteMultipartUploadInput: an input stream of the bucket.
|
static class |
Bucket.CompleteMultipartUploadOutput
CompleteMultipartUploadOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteBucketCORSOutput
DeleteBucketCORSOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteBucketExternalMirrorOutput
DeleteBucketExternalMirrorOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteBucketOutput
DeleteBucketOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteBucketPolicyOutput
DeleteBucketPolicyOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteMultipleObjectsInput
DeleteMultipleObjectsInput: an input stream of the bucket.
|
static class |
Bucket.DeleteMultipleObjectsOutput
DeleteMultipleObjectsOutput: an output stream of the bucket.
|
static class |
Bucket.DeleteObjectOutput
DeleteObjectOutput: an output stream of the bucket.
|
static class |
Bucket.GetBucketACLOutput
GetBucketACLOutput: an output stream of the bucket.
|
static class |
Bucket.GetBucketCORSOutput
GetBucketCORSOutput: an output stream of the bucket.
|
static class |
Bucket.GetBucketExternalMirrorOutput
GetBucketExternalMirrorOutput: an output stream of the bucket.
|
static class |
Bucket.GetBucketPolicyOutput
GetBucketPolicyOutput: an output stream of the bucket.
|
static class |
Bucket.GetBucketStatisticsOutput
GetBucketStatisticsOutput: an output stream of the bucket.
|
static class |
Bucket.GetObjectInput
GetObjectInput: an input stream of the bucket.
|
static class |
Bucket.GetObjectOutput
GetObjectOutput: an output stream of the bucket.
|
static class |
Bucket.HeadBucketOutput
HeadBucketOutput: an output stream of the bucket.
|
static class |
Bucket.HeadObjectInput
HeadObjectInput: an input stream of the bucket.
|
static class |
Bucket.HeadObjectOutput
HeadObjectOutput: an output stream of the bucket.
|
static class |
Bucket.ImageProcessInput
ImageProcessInput: an input stream of the bucket.
|
static class |
Bucket.ImageProcessOutput
ImageProcessOutput: an output stream of the bucket.
|
static class |
Bucket.InitiateMultipartUploadInput
InitiateMultipartUploadInput: an input stream of the bucket.
|
static class |
Bucket.InitiateMultipartUploadOutput
InitiateMultipartUploadOutput: an output stream of the bucket.
|
static class |
Bucket.ListMultipartInput
ListMultipartInput: an input stream of the bucket.
|
static class |
Bucket.ListMultipartOutput
ListMultipartOutput: an output stream of the bucket.
|
static class |
Bucket.ListMultipartUploadsInput
ListMultipartUploadsInput: an input stream of the bucket.
|
static class |
Bucket.ListMultipartUploadsOutput
ListMultipartUploadsOutput: an output stream of the bucket.
|
static class |
Bucket.ListObjectsInput
ListObjectsInput: an input stream of the bucket.
|
static class |
Bucket.ListObjectsOutput
ListObjectsOutput: an output stream of the bucket.
|
static class |
Bucket.OptionsObjectInput
OptionsObjectInput: an input stream of the bucket.
|
static class |
Bucket.OptionsObjectOutput
OptionsObjectOutput: an output stream of the bucket.
|
static class |
Bucket.PutBucketACLInput
PutBucketACLInput: an input stream of the bucket.
|
static class |
Bucket.PutBucketACLOutput
PutBucketACLOutput: an output stream of the bucket.
|
static class |
Bucket.PutBucketCORSInput
PutBucketCORSInput: an input stream of the bucket.
|
static class |
Bucket.PutBucketCORSOutput
PutBucketCORSOutput: an output stream of the bucket.
|
static class |
Bucket.PutBucketExternalMirrorInput
PutBucketExternalMirrorInput: an input stream of the bucket.
|
static class |
Bucket.PutBucketExternalMirrorOutput
PutBucketExternalMirrorOutput: an output stream of the bucket.
|
static class |
Bucket.PutBucketOutput
PutBucketOutput: an output stream of the bucket.
|
static class |
Bucket.PutBucketPolicyInput
PutBucketPolicyInput: an input stream of the bucket.
|
static class |
Bucket.PutBucketPolicyOutput
PutBucketPolicyOutput: an output stream of the bucket.
|
static class |
Bucket.PutObjectInput
PutObjectInput: an input stream of the bucket.
|
static class |
Bucket.PutObjectOutput
PutObjectOutput: an output stream of the bucket.
|
static class |
Bucket.UploadMultipartInput
UploadMultipartInput: an input stream of the bucket.
|
static class |
Bucket.UploadMultipartOutput
UploadMultipartOutput: an output stream of the bucket.
|
| 构造器和说明 |
|---|
Bucket(EvnContext evnContext,
String zone,
String bucketName) |
public Bucket(EvnContext evnContext, String zone, String bucketName)
public Bucket.DeleteBucketOutput delete() throws QSException
QSException - exceptionpublic RequestHandler deleteRequest() throws QSException
QSException - exceptionpublic void deleteAsync(ResponseCallBack<Bucket.DeleteBucketOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/delete.html
public RequestHandler deleteAsyncRequest(ResponseCallBack<Bucket.DeleteBucketOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.DeleteBucketCORSOutput deleteCORS() throws QSException
QSException - exceptionpublic RequestHandler deleteCORSRequest() throws QSException
QSException - exceptionpublic void deleteCORSAsync(ResponseCallBack<Bucket.DeleteBucketCORSOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/cors/delete_cors.html
public RequestHandler deleteCORSAsyncRequest(ResponseCallBack<Bucket.DeleteBucketCORSOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.DeleteBucketExternalMirrorOutput deleteExternalMirror() throws QSException
QSException - exceptionpublic RequestHandler deleteExternalMirrorRequest() throws QSException
QSException - exceptionpublic void deleteExternalMirrorAsync(ResponseCallBack<Bucket.DeleteBucketExternalMirrorOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/external_mirror/delete_external_mirror.html
public RequestHandler deleteExternalMirrorAsyncRequest(ResponseCallBack<Bucket.DeleteBucketExternalMirrorOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.DeleteBucketPolicyOutput deletePolicy() throws QSException
QSException - exceptionpublic RequestHandler deletePolicyRequest() throws QSException
QSException - exceptionpublic void deletePolicyAsync(ResponseCallBack<Bucket.DeleteBucketPolicyOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/policy/delete_policy.html
public RequestHandler deletePolicyAsyncRequest(ResponseCallBack<Bucket.DeleteBucketPolicyOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.DeleteMultipleObjectsOutput deleteMultipleObjects(Bucket.DeleteMultipleObjectsInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler deleteMultipleObjectsRequest(Bucket.DeleteMultipleObjectsInput input) throws QSException
input - inputQSException - exceptionpublic void deleteMultipleObjectsAsync(Bucket.DeleteMultipleObjectsInput input, ResponseCallBack<Bucket.DeleteMultipleObjectsOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/delete_multiple.html
public RequestHandler deleteMultipleObjectsAsyncRequest(Bucket.DeleteMultipleObjectsInput input, ResponseCallBack<Bucket.DeleteMultipleObjectsOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.GetBucketACLOutput getACL() throws QSException
QSException - exceptionpublic RequestHandler getACLRequest() throws QSException
QSException - exceptionpublic void getACLAsync(ResponseCallBack<Bucket.GetBucketACLOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/get_acl.html
public RequestHandler getACLAsyncRequest(ResponseCallBack<Bucket.GetBucketACLOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.GetBucketCORSOutput getCORS() throws QSException
QSException - exceptionpublic RequestHandler getCORSRequest() throws QSException
QSException - exceptionpublic void getCORSAsync(ResponseCallBack<Bucket.GetBucketCORSOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/cors/get_cors.html
public RequestHandler getCORSAsyncRequest(ResponseCallBack<Bucket.GetBucketCORSOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.GetBucketExternalMirrorOutput getExternalMirror() throws QSException
QSException - exceptionpublic RequestHandler getExternalMirrorRequest() throws QSException
QSException - exceptionpublic void getExternalMirrorAsync(ResponseCallBack<Bucket.GetBucketExternalMirrorOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/external_mirror/get_external_mirror.html
public RequestHandler getExternalMirrorAsyncRequest(ResponseCallBack<Bucket.GetBucketExternalMirrorOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.GetBucketPolicyOutput getPolicy() throws QSException
QSException - exceptionpublic RequestHandler getPolicyRequest() throws QSException
QSException - exceptionpublic void getPolicyAsync(ResponseCallBack<Bucket.GetBucketPolicyOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://https://docs.qingcloud.com/qingstor/api/bucket/policy/get_policy.html
public RequestHandler getPolicyAsyncRequest(ResponseCallBack<Bucket.GetBucketPolicyOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.GetBucketStatisticsOutput getStatistics() throws QSException
QSException - exceptionpublic RequestHandler getStatisticsRequest() throws QSException
QSException - exceptionpublic void getStatisticsAsync(ResponseCallBack<Bucket.GetBucketStatisticsOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/get_stats.html
public RequestHandler getStatisticsAsyncRequest(ResponseCallBack<Bucket.GetBucketStatisticsOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.HeadBucketOutput head() throws QSException
QSException - exceptionpublic RequestHandler headRequest() throws QSException
QSException - exceptionpublic void headAsync(ResponseCallBack<Bucket.HeadBucketOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/head.html
public RequestHandler headAsyncRequest(ResponseCallBack<Bucket.HeadBucketOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.ListMultipartUploadsOutput listMultipartUploads(Bucket.ListMultipartUploadsInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler listMultipartUploadsRequest(Bucket.ListMultipartUploadsInput input) throws QSException
input - inputQSException - exceptionpublic void listMultipartUploadsAsync(Bucket.ListMultipartUploadsInput input, ResponseCallBack<Bucket.ListMultipartUploadsOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/list_multipart_uploads.html
public RequestHandler listMultipartUploadsAsyncRequest(Bucket.ListMultipartUploadsInput input, ResponseCallBack<Bucket.ListMultipartUploadsOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.ListObjectsOutput listObjects(Bucket.ListObjectsInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler listObjectsRequest(Bucket.ListObjectsInput input) throws QSException
input - inputQSException - exceptionpublic void listObjectsAsync(Bucket.ListObjectsInput input, ResponseCallBack<Bucket.ListObjectsOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/get.html
public RequestHandler listObjectsAsyncRequest(Bucket.ListObjectsInput input, ResponseCallBack<Bucket.ListObjectsOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.PutBucketOutput put() throws QSException
QSException - exceptionpublic RequestHandler putRequest() throws QSException
QSException - exceptionpublic void putAsync(ResponseCallBack<Bucket.PutBucketOutput> callback) throws QSException
callback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/put.html
public RequestHandler putAsyncRequest(ResponseCallBack<Bucket.PutBucketOutput> callback) throws QSException
callback - response callbackQSException - exceptionpublic Bucket.PutBucketACLOutput putACL(Bucket.PutBucketACLInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler putACLRequest(Bucket.PutBucketACLInput input) throws QSException
input - inputQSException - exceptionpublic void putACLAsync(Bucket.PutBucketACLInput input, ResponseCallBack<Bucket.PutBucketACLOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/put_acl.html
public RequestHandler putACLAsyncRequest(Bucket.PutBucketACLInput input, ResponseCallBack<Bucket.PutBucketACLOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.PutBucketCORSOutput putCORS(Bucket.PutBucketCORSInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler putCORSRequest(Bucket.PutBucketCORSInput input) throws QSException
input - inputQSException - exceptionpublic void putCORSAsync(Bucket.PutBucketCORSInput input, ResponseCallBack<Bucket.PutBucketCORSOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/cors/put_cors.html
public RequestHandler putCORSAsyncRequest(Bucket.PutBucketCORSInput input, ResponseCallBack<Bucket.PutBucketCORSOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.PutBucketExternalMirrorOutput putExternalMirror(Bucket.PutBucketExternalMirrorInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler putExternalMirrorRequest(Bucket.PutBucketExternalMirrorInput input) throws QSException
input - inputQSException - exceptionpublic void putExternalMirrorAsync(Bucket.PutBucketExternalMirrorInput input, ResponseCallBack<Bucket.PutBucketExternalMirrorOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/external_mirror/put_external_mirror.html
public RequestHandler putExternalMirrorAsyncRequest(Bucket.PutBucketExternalMirrorInput input, ResponseCallBack<Bucket.PutBucketExternalMirrorOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.PutBucketPolicyOutput putPolicy(Bucket.PutBucketPolicyInput input) throws QSException
input - inputQSException - exceptionpublic RequestHandler putPolicyRequest(Bucket.PutBucketPolicyInput input) throws QSException
input - inputQSException - exceptionpublic void putPolicyAsync(Bucket.PutBucketPolicyInput input, ResponseCallBack<Bucket.PutBucketPolicyOutput> callback) throws QSException
input - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/bucket/policy/put_policy.html
public RequestHandler putPolicyAsyncRequest(Bucket.PutBucketPolicyInput input, ResponseCallBack<Bucket.PutBucketPolicyOutput> callback) throws QSException
input - the inputcallback - response callbackQSException - exceptionpublic Bucket.AbortMultipartUploadOutput abortMultipartUpload(String objectName, Bucket.AbortMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler abortMultipartUploadRequest(String objectName, Bucket.AbortMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void abortMultipartUploadAsync(String objectName, Bucket.AbortMultipartUploadInput input, ResponseCallBack<Bucket.AbortMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/abort_multipart_upload.html
public RequestHandler abortMultipartUploadAsyncRequest(String objectName, Bucket.AbortMultipartUploadInput input, ResponseCallBack<Bucket.AbortMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.CompleteMultipartUploadOutput completeMultipartUpload(String objectName, Bucket.CompleteMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler completeMultipartUploadRequest(String objectName, Bucket.CompleteMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void completeMultipartUploadAsync(String objectName, Bucket.CompleteMultipartUploadInput input, ResponseCallBack<Bucket.CompleteMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/complete_multipart_upload.html
public RequestHandler completeMultipartUploadAsyncRequest(String objectName, Bucket.CompleteMultipartUploadInput input, ResponseCallBack<Bucket.CompleteMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.DeleteObjectOutput deleteObject(String objectName) throws QSException
objectName - name of the objectQSException - exceptionpublic RequestHandler deleteObjectRequest(String objectName) throws QSException
objectName - name of the objectQSException - exceptionpublic void deleteObjectAsync(String objectName, ResponseCallBack<Bucket.DeleteObjectOutput> callback) throws QSException
objectName - name of the objectcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/delete.html
public RequestHandler deleteObjectAsyncRequest(String objectName, ResponseCallBack<Bucket.DeleteObjectOutput> callback) throws QSException
objectName - name of the objectcallback - response callbackQSException - exceptionpublic Bucket.GetObjectOutput getObject(String objectName, Bucket.GetObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler getObjectRequest(String objectName, Bucket.GetObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void getObjectAsync(String objectName, Bucket.GetObjectInput input, ResponseCallBack<Bucket.GetObjectOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/get.html
public RequestHandler getObjectAsyncRequest(String objectName, Bucket.GetObjectInput input, ResponseCallBack<Bucket.GetObjectOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.HeadObjectOutput headObject(String objectName, Bucket.HeadObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler headObjectRequest(String objectName, Bucket.HeadObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void headObjectAsync(String objectName, Bucket.HeadObjectInput input, ResponseCallBack<Bucket.HeadObjectOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/head.html
public RequestHandler headObjectAsyncRequest(String objectName, Bucket.HeadObjectInput input, ResponseCallBack<Bucket.HeadObjectOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.ImageProcessOutput imageProcess(String objectName, Bucket.ImageProcessInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler imageProcessRequest(String objectName, Bucket.ImageProcessInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void imageProcessAsync(String objectName, Bucket.ImageProcessInput input, ResponseCallBack<Bucket.ImageProcessOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/data_process/image_process/index.html
public RequestHandler imageProcessAsyncRequest(String objectName, Bucket.ImageProcessInput input, ResponseCallBack<Bucket.ImageProcessOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.InitiateMultipartUploadOutput initiateMultipartUpload(String objectName, Bucket.InitiateMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler initiateMultipartUploadRequest(String objectName, Bucket.InitiateMultipartUploadInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void initiateMultipartUploadAsync(String objectName, Bucket.InitiateMultipartUploadInput input, ResponseCallBack<Bucket.InitiateMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/initiate_multipart_upload.html
public RequestHandler initiateMultipartUploadAsyncRequest(String objectName, Bucket.InitiateMultipartUploadInput input, ResponseCallBack<Bucket.InitiateMultipartUploadOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.ListMultipartOutput listMultipart(String objectName, Bucket.ListMultipartInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler listMultipartRequest(String objectName, Bucket.ListMultipartInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void listMultipartAsync(String objectName, Bucket.ListMultipartInput input, ResponseCallBack<Bucket.ListMultipartOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/list_multipart.html
public RequestHandler listMultipartAsyncRequest(String objectName, Bucket.ListMultipartInput input, ResponseCallBack<Bucket.ListMultipartOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.OptionsObjectOutput optionsObject(String objectName, Bucket.OptionsObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler optionsObjectRequest(String objectName, Bucket.OptionsObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void optionsObjectAsync(String objectName, Bucket.OptionsObjectInput input, ResponseCallBack<Bucket.OptionsObjectOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/options.html
public RequestHandler optionsObjectAsyncRequest(String objectName, Bucket.OptionsObjectInput input, ResponseCallBack<Bucket.OptionsObjectOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.PutObjectOutput putObject(String objectName, Bucket.PutObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler putObjectRequest(String objectName, Bucket.PutObjectInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void putObjectAsync(String objectName, Bucket.PutObjectInput input, ResponseCallBack<Bucket.PutObjectOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/put.html
public RequestHandler putObjectAsyncRequest(String objectName, Bucket.PutObjectInput input, ResponseCallBack<Bucket.PutObjectOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exceptionpublic Bucket.UploadMultipartOutput uploadMultipart(String objectName, Bucket.UploadMultipartInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic RequestHandler uploadMultipartRequest(String objectName, Bucket.UploadMultipartInput input) throws QSException
objectName - name of the objectinput - inputQSException - exceptionpublic void uploadMultipartAsync(String objectName, Bucket.UploadMultipartInput input, ResponseCallBack<Bucket.UploadMultipartOutput> callback) throws QSException
objectName - name of the objectinput - inputcallback - response callbackQSException - exception
Documentation URL: https://docs.qingcloud.com/qingstor/api/object/multipart/upload_multipart.html
public RequestHandler uploadMultipartAsyncRequest(String objectName, Bucket.UploadMultipartInput input, ResponseCallBack<Bucket.UploadMultipartOutput> callback) throws QSException
objectName - name of the objectinput - the inputcallback - response callbackQSException - exception@Deprecated public String GetObjectSignatureUrl(String objectName, int expiresSecond) throws QSException
objectName - name of the objectexpiresSecond - Relative current time,the second when this quert sign expiresQSException - exceptionpublic String GetObjectSignatureUrl(String objectName, long expires) throws QSException
objectName - name of the objectexpires - time to expireQSException - exception Documentation URL: https://docs.qingcloud.com/qingstor/api/common/signature.htmlpublic RequestHandler GetObjectBySignatureUrlRequest(String objectName, Bucket.GetObjectInput input, long expires) throws QSException
objectName - name of the objectinput - get object inputexpires - Relative current time,the second when this quert sign expiresQSException - exception Documentation URL: https://docs.qingcloud.com/qingstor/api/common/signature.htmlpublic Bucket.GetObjectOutput GetObjectBySignatureUrl(String signaturedRequest) throws QSException
signaturedRequest - Signature UrlQSException - exceptionpublic void GetObjectBySignatureUrlAsync(String signaturedRequest, ResponseCallBack<Bucket.GetObjectOutput> callback) throws QSException
signaturedRequest - Signature Urlcallback - callbackQSException - exceptionpublic RequestHandler imageProcessExpiredUrlRequest(String objectName, Bucket.ImageProcessInput input, long expires) throws QSException
objectName - name of the objectinput - inputQSException - exceptionCopyright © 2018. All rights reserved.