初始化 Multipart Upload 任务
请求参数(InitiateMultipartUploadRequest)
接口定义/**
* 初始化Multipart上传任务同步接口
* @param initiateMultipartUploadRequest 初始化Multipart上传任务请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public InitiateMultipartUploadResult initiateMultipartUpload(
InitiateMultipartUploadRequest initiateMultipartUploadRequest)
throws OASClientException, OASServerException;
/**
* 初始化Multipart上传任务异步接口
* @param initiateMultipartUploadRequest 初始化Multipart上传任务请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> initiateMultipartUploadAsync(
InitiateMultipartUploadRequest initiateMultipartUploadRequest,
AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果(InitiateMultipartUploadResult)
获取 Multipart Upload任务列表
请求参数(ListMultipartUploadsRequest)
接口定义/**
* 获取Multipart上传任务列表同步接口
* @param listMultipartUploadsRequest 获取Multipart上传任务列表请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public ListMultipartUploadsResult listMultipartUploads(
ListMultipartUploadsRequest listMultipartUploadsRequest)
throws OASClientException, OASServerException;
/**
* 获取Multipart上传任务列表异步接口
* @param listMultipartUploadsRequest 获取Multipart上传任务列表请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> listMultipartUploadsAsync(
ListMultipartUploadsRequest listMultipartUploadsRequest,
AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果(ListMultipartUploadsResult)
删除 Multipart Upload 任务
请求参数(CancelMultipartUploadRequest)
接口定义/**
* 删除Multipart上传任务同步接口
* @param cancelMultipartUploadRequest 删除Multipart上传任务请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public OASResult cancelMultipartUpload(
CancelMultipartUploadRequest cancelMultipartUploadRequest)
throws OASClientException, OASServerException;
/**
* 删除Multipart上传任务异步接口
* @param cancelMultipartUploadRequest 删除Multipart上传任务请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> cancelMultipartUploadAsync(
CancelMultipartUploadRequest cancelMultipartUploadRequest,
AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果(OASResult)
Part上传
请求参数(UploadPartRequest)
接口定义/**
* 上传Part同步接口
* @param uploadPartRequest 上传Part请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public OASResult uploadPart(UploadPartRequest uploadPartRequest)
throws OASClientException, OASServerException;
/**
* 上传Part异步接口
* @param uploadPartRequest 上传Part请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> uploadPartAsync(
UploadPartRequest uploadPartRequest, AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果(OASResult)
参考OASResult结构
获取 Part 列表
请求参数(ListPartsRequest)
接口定义/**
* 获取Part列表同步接口
* @param listPartsRequest 获取Part列表请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public ListPartsResult listParts(ListPartsRequest listPartsRequest)
throws OASClientException, OASServerException;
/**
* 获取Part列表异步接口
* @param listPartsRequest 获取Part列表请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> listPartsAsync(
ListPartsRequest listPartsRequest, AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果(ListPartsResult)
Part 合并
请求参数(CompleteMultipartUploadRequest)
接口定义/**
* Part合并同步接口
* @param completeMultipartUploadRequest Part合并请求对象
* @return
* @throws OASClientException
* @throws OASServerException
*/
public CompleteMultipartUploadResult completeMultipartUpload(
CompleteMultipartUploadRequest completeMultipartUploadRequest)
throws OASClientException, OASServerException;
/**
* Part合并异步接口
* @param completeMultipartUploadRequest Part合并请求对象
* @param handler 异步请求处理器
* @return
* @throws OASClientException
* @throws OASServerException
*/
public <T> ListenableFuture<T> completeMultipartUploadAsync(
CompleteMultipartUploadRequest completeMultipartUploadRequest,
AsyncHandler<T> handler)
throws OASClientException, OASServerException;
响应结果
[tr=rgb(239, 251, 255)][td]location
String | 成功上传的Archive的URI |
archiveId | String | 成功上传的Archive的ID |