public final class PreBuildConnectionRequest extends CosXmlRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PreBuildConnectionRequest(java.lang.String bucket)
预连接的请求
|
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.lang.String |
getPath(CosXmlServiceConfig config)
获取HTTP URL Path
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getQueryString, getRegion, 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, xmlBuilder
public PreBuildConnectionRequest(java.lang.String bucket)
bucket
- 存储桶名称public java.lang.String getPath(CosXmlServiceConfig config)
CosXmlRequest
getPath
在类中 CosXmlRequest
config
- SDK服务配置public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 CosXmlRequest
CosXmlClientException
- cosXmlClientExceptionpublic java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public RequestBodySerializer getRequestBody()
CosXmlRequest
getRequestBody
在类中 CosXmlRequest