public class PushUrlsCacheRequest extends AbstractModel
Constructor and Description |
---|
PushUrlsCacheRequest() |
PushUrlsCacheRequest(PushUrlsCacheRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getArea()
Get 预热生效区域
mainland:预热至境内节点
overseas:预热至境外节点
global:预热全球节点
不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务
|
String |
getLayer()
Get 填写"middle"或不填充时预热至中间层节点
|
Boolean |
getParseM3U8()
Get 是否递归解析m3u8文件中的ts分片预热
注意事项:
1.
|
String[] |
getUrls()
Get URL 列表,需要包含协议头部 http:// 或 https://
|
String |
getUserAgent()
Get 指定预热请求回源时 HTTP 请求的 User-Agent 头部
默认为 TencentCdn
|
void |
setArea(String Area)
Set 预热生效区域
mainland:预热至境内节点
overseas:预热至境外节点
global:预热全球节点
不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务
|
void |
setLayer(String Layer)
Set 填写"middle"或不填充时预热至中间层节点
|
void |
setParseM3U8(Boolean ParseM3U8)
Set 是否递归解析m3u8文件中的ts分片预热
注意事项:
1.
|
void |
setUrls(String[] Urls)
Set URL 列表,需要包含协议头部 http:// 或 https://
|
void |
setUserAgent(String UserAgent)
Set 指定预热请求回源时 HTTP 请求的 User-Agent 头部
默认为 TencentCdn
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PushUrlsCacheRequest()
public PushUrlsCacheRequest(PushUrlsCacheRequest source)
public String[] getUrls()
public void setUrls(String[] Urls)
Urls
- URL 列表,需要包含协议头部 http:// 或 https://public String getUserAgent()
public void setUserAgent(String UserAgent)
UserAgent
- 指定预热请求回源时 HTTP 请求的 User-Agent 头部
默认为 TencentCdnpublic String getArea()
public void setArea(String Area)
Area
- 预热生效区域
mainland:预热至境内节点
overseas:预热至境外节点
global:预热全球节点
不填充情况下,默认为 mainland, URL 中域名必须在对应区域启用了加速服务才能提交对应区域的预热任务public String getLayer()
public void setLayer(String Layer)
Layer
- 填写"middle"或不填充时预热至中间层节点public Boolean getParseM3U8()
public void setParseM3U8(Boolean ParseM3U8)
ParseM3U8
- 是否递归解析m3u8文件中的ts分片预热
注意事项:
1. 该功能要求m3u8索引文件能直接请求获取
2. 当前只支持递归解析一级索引和子索引中的ts分片,递归深度不超过3层
3. 解析获取的ts分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热Copyright © 2021. All rights reserved.