public final class ListPartsRequest extends BaseMultipartUploadRequest
CosXmlRequest.OnRequestWeightListener
cosPath
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
ListPartsRequest(java.lang.String bucket,
java.lang.String cosPath,
java.lang.String uploadId) |
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getEncodingType()
获取设置的返回值编码方式
|
int |
getMaxParts()
获取用户设置的单次返回最大条目数
|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
int |
getPartNumberMarker()
获取设置的NumberMarker
|
int |
getPriority()
获取请求优先级
|
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
java.lang.String |
getUploadId()
获取分片上传的UploadId
|
void |
setEncodingType(java.lang.String encodingType)
设置返回值的编码方式
|
void |
setMaxParts(int maxParts)
设置单次返回的最大条目数
|
void |
setPartNumberMarker(int partNumberMarker)
设置列出分片的起点。
|
void |
setUploadId(java.lang.String uploadId)
设置查询分片上传的UploadId
|
getSTSCredentialScope
getContentType, getCosPath, getPath, setCosPath, setCOSServerSideEncryption, setCOSServerSideEncryptionWithCustomerKey, setCOSServerSideEncryptionWithKMS
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getQueryEncodedString, getRegion, getRequestHeaders, getRequestHost, getRequestURL, getSignSourceProvider, getWeight, headersHasUnsafeNonAscii, isNeedMD5, isSignInUrl, isSupportAccelerate, isSupportAccelerate, setNeedMD5, setOnRequestWeightListener, setQueryEncodedString, setQueryParameters, setRegion, setRequestHeaders, setRequestHeaders, setRequestHeaders, setRequestURL, setSign, setSign, setSign, setSign, setSign, setSignInUrl, setSignKeyTime, setSignParamsAndHeaders, setSignSourceProvider, setTask, setTaskStateListener, xmlBuilder
public ListPartsRequest(java.lang.String bucket, java.lang.String cosPath, java.lang.String uploadId)
bucket
- 存储桶名称(cos v5 的 bucket格式为:xxx-appid, 如 bucket-1250000000)cosPath
- 远端路径,即存储到 COS 上的绝对路径uploadId
- 初始化分片返回的 uploadIdpublic java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public RequestBodySerializer getRequestBody()
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 ObjectRequest
CosXmlClientException
- cosXmlClientExceptionpublic void setUploadId(java.lang.String uploadId)
uploadId
- 分片上传的UploadIdpublic java.lang.String getUploadId()
public void setMaxParts(int maxParts)
maxParts
- 查询返回的最大条目数public int getMaxParts()
public void setPartNumberMarker(int partNumberMarker)
partNumberMarker
- 列出分片的起点,可从ListPartsResult中读取。public int getPartNumberMarker()
public void setEncodingType(java.lang.String encodingType)
encodingType
- 返回值的编码方式public java.lang.String getEncodingType()
public int getPriority()
CosXmlRequest
getPriority
在类中 CosXmlRequest