public class PreloadCachesRequest extends Object implements GeneralRequest
说明:
同一个 ID 每日设有提交预热类请求条数限制额度,与控制台共享此额度,具体额度可查看控制台或调用GetRefreshOrPreloadQuota接口获取 刷新预热类接口包含 RefreshCaches刷新接口和PreloadCaches 预热接口 注意:
每个 Url 必须以http://或者https://开头 每个 Url 最大长度 1000 字符 每个 Url 所在的域名必须是该用户在金山云加速的域名。 Url 如果包含中文字符 单次调用 Url 上限为1000条 预热仅支持Url,不支持目录预热,不支持正则
| Constructor and Description |
|---|
PreloadCachesRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildParams()
生成get请求的请求参数
|
GeneralRequestParam |
getGeneralRequestParam()
获取访问api,公用请求参数对象
|
Url[] |
getUrls() |
void |
setUrls(Url[] urls) |
public GeneralRequestParam getGeneralRequestParam()
GeneralRequestgetGeneralRequestParam in interface GeneralRequestpublic Map<String,String> buildParams() throws KscClientException, ParseException
GeneralRequestbuildParams in interface GeneralRequestKscClientExceptionParseExceptionpublic Url[] getUrls()
public void setUrls(Url[] urls)
Copyright © 2023. All rights reserved.