public static class COSXMLUploadTask.COSXMLUploadTaskRequest extends PutObjectRequest
CosXmlRequest.OnRequestWeightListener
data, fileLength, inputStream, progressListener, srcPath, strData, uri, url, urlUploadPolicy
cosPath
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
限定符 | 构造器和说明 |
---|---|
protected |
COSXMLUploadTaskRequest(java.lang.String region,
java.lang.String bucket,
java.lang.String cosPath,
java.lang.String srcPath,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers,
java.util.Map<java.lang.String,java.lang.String> queryStr) |
限定符和类型 | 方法和说明 |
---|---|
void |
setTrafficLimit(long limit)
单链接限速,单位为bit/s
限速值设置范围为819200~838860800,即100KB/s~100MB/s,如果超出该范围会返回400错误。
|
checkParameters, getMetadata, setCacheControl, setContentDisposition, setContentEncodeing, setExpires, setMetadata, setPicOperations, setStroageClass, setXCOSACL, setXCOSACL, setXCOSGrantRead, setXCOSGrantWrite, setXCOSMeta, setXCOSReadWrite
getData, getFileLength, getInputStream, getMethod, getProgressListener, getSrcPath, getStrData, getUri, getUrl, getUrlUploadPolicy, isPriorityLow, setData, setInputStream, setPriorityLow, setProgressListener, setSrcPath, setStrData, setTrafficLimit, setUri, setUrl, setUrlUploadPolicy, xmlBuilder
getContentType, getCosPath, getPath, setCosPath, setCOSServerSideEncryption, setCOSServerSideEncryptionWithCustomerKey, setCOSServerSideEncryptionWithKMS
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getQueryString, getRegion, getRequestBody, getRequestHeaders, getRequestHost, getRequestURL, getSignSourceProvider, getSTSCredentialScope, 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
protected COSXMLUploadTaskRequest(java.lang.String region, java.lang.String bucket, java.lang.String cosPath, java.lang.String srcPath, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, java.util.Map<java.lang.String,java.lang.String> queryStr)