public class GetPrivateM3U8Request extends BucketRequest
CosXmlRequest.OnRequestWeightListener
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
ci_process
操作类型,固定使用 pm3u8
|
java.lang.String |
expires
私有 ts 资源 url 下载凭证的相对有效期,单位为秒,范围为[3600, 43200]
|
protected java.lang.String |
objectKey |
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
GetPrivateM3U8Request(java.lang.String bucket,
java.lang.String objectKey)
GetPrivateM3U8 接口用于获取私有 M3U8 ts 资源的下载授权。
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
checkParameters
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, 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
protected final java.lang.String objectKey
public java.lang.String ci_process
public java.lang.String expires
public GetPrivateM3U8Request(@NonNull java.lang.String bucket, @NonNull java.lang.String objectKey)
bucket
- 存储桶名public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public java.lang.String getPath(CosXmlServiceConfig cosXmlServiceConfig)
CosXmlRequest
getPath
在类中 BucketRequest
cosXmlServiceConfig
- SDK服务配置public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest