public class PostWebPageAuditRequest extends BasePostAuditRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PostWebPageAuditRequest(java.lang.String bucket)
提交网页审核任务请求
|
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
void |
setCallback(java.lang.String callback)
已过时。
|
void |
setConfig(PostWebPageAudit.WebPageAuditConf conf)
设置审核规则配置
|
void |
setDetectType(java.lang.String detectType)
已过时。
|
void |
setInput(AuditInput input)
设置需要审核的内容
|
void |
setReturnHighlightHtml(boolean returnHighlightHtml)
已过时。
|
void |
setUrl(java.lang.String url)
已过时。
|
getMethod, getRequestHost
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getQueryString, getRegion, getRequestHeaders, 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 PostWebPageAuditRequest(@NonNull java.lang.String bucket)
bucket
- 存储桶名public void setInput(@NonNull AuditInput input)
input
- 需要审核的内容public void setConfig(@NonNull PostWebPageAudit.WebPageAuditConf conf)
conf
- 审核规则配置@Deprecated public void setUrl(@NonNull java.lang.String url)
@Deprecated public void setDetectType(@NonNull java.lang.String detectType)
@Deprecated public void setCallback(@NonNull java.lang.String callback)
@Deprecated public void setReturnHighlightHtml(boolean returnHighlightHtml)
public java.lang.String getPath(CosXmlServiceConfig cosXmlServiceConfig)
CosXmlRequest
getPath
在类中 BucketRequest
cosXmlServiceConfig
- SDK服务配置public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 BucketRequest
CosXmlClientException
- cosXmlClientException