public class PutBucketWebsiteRequest extends BucketRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PutBucketWebsiteRequest(java.lang.String bucket) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
void |
setErrorDocument(java.lang.String key)
设置错误文档的对象键
|
void |
setIndexDocument(java.lang.String suffix)
设置索引文档的对象键后缀
|
void |
setRedirectAllRequestTo(java.lang.String protocol)
设置重定向所有请求的目标协议
|
void |
setRoutingRules(java.util.List<WebsiteConfiguration.RoutingRule> rules)
设置重定向规则配置
|
protected RequestBodySerializer |
xmlBuilder()
收拢xml解析
|
checkParameters, getPath
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, 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
public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
protected RequestBodySerializer xmlBuilder() throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
CosXmlRequest
xmlBuilder
在类中 CosXmlRequest
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public void setIndexDocument(java.lang.String suffix)
suffix
- 索引文档的对象键后缀public void setErrorDocument(java.lang.String key)
key
- 错误文档的对象键public void setRedirectAllRequestTo(java.lang.String protocol)
protocol
- 重定向所有请求的目标协议public void setRoutingRules(java.util.List<WebsiteConfiguration.RoutingRule> rules)
rules
- 重定向规则配置