public class PreviewDocumentInHtmlLinkRequest extends PreviewDocumentInHtmlBytesRequest
CosXmlRequest.OnRequestWeightListener
cosPath
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PreviewDocumentInHtmlLinkRequest(java.lang.String bucket,
java.lang.String cosPath)
预览请求构造器
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
RequestBodySerializer |
getRequestBody()
获取请求体
|
setCopyable, setHtmlParams, setSrcType, setWatermark, setWatermarkColor, setWatermarkFont, setWatermarkHorizontal, setWatermarkRotate, setWatermarkVertical
checkParameters, getContentType, getCosPath, getPath, setCosPath, setCOSServerSideEncryption, setCOSServerSideEncryptionWithCustomerKey, setCOSServerSideEncryptionWithKMS
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 PreviewDocumentInHtmlLinkRequest(java.lang.String bucket, java.lang.String cosPath)
bucket
- 文档所在存储桶cosPath
- 文档的对象键public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 PreviewDocumentInHtmlBytesRequest
public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 PreviewDocumentInHtmlBytesRequest
CosXmlClientException
- 客户异常