public class UploadPartCopyRequest extends CopyObjectRequest
CopyObjectRequest.CopySourceStruct
CosXmlRequest.OnRequestWeightListener
cosPath
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
UploadPartCopyRequest(java.lang.String bucket,
java.lang.String cosPath,
int partNumber,
java.lang.String uploadId,
CopyObjectRequest.CopySourceStruct copySourceStruct) |
UploadPartCopyRequest(java.lang.String bucket,
java.lang.String cosPath,
int partNumber,
java.lang.String uploadId,
CopyObjectRequest.CopySourceStruct copySourceStruct,
long start,
long end) |
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
void |
setCopyRange(long start,
long end)
设置源对象的字节范围
例如 bytes=0-9 表示您希望拷贝源对象的开头10个字节的数据
|
getCopySource, getCosPath, getMethod, getRequestBody, getSTSCredentialScope, setCopyIfMatch, setCopyIfModifiedSince, setCopyIfNoneMatch, setCopyIfUnmodifiedSince, setCopyMetaDataDirective, setCopySource, setCopySourceServerSideEncryptionCustomerKey, setCopySourceServerSideEncryptionKMS, setCosPath, setCosStorageClass, setXCOSACL, setXCOSACL, setXCOSGrantRead, setXCOSGrantWrite, setXCOSMeta, setXCOSReadWrite
getContentType, getPath, setCOSServerSideEncryption, setCOSServerSideEncryptionWithCustomerKey, setCOSServerSideEncryptionWithKMS
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, 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 UploadPartCopyRequest(java.lang.String bucket, java.lang.String cosPath, int partNumber, java.lang.String uploadId, CopyObjectRequest.CopySourceStruct copySourceStruct) throws CosXmlClientException
public UploadPartCopyRequest(java.lang.String bucket, java.lang.String cosPath, int partNumber, java.lang.String uploadId, CopyObjectRequest.CopySourceStruct copySourceStruct, long start, long end)
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 CopyObjectRequest
CosXmlClientException
- cosXmlClientExceptionpublic void setCopyRange(long start, long end)
start
- 起始字节end
- 结束字节