public class CdnClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
CdnClient()
Constructs a new Document client to invoke service methods on CDN.
|
CdnClient(BceClientConfiguration clientConfiguration)
Constructs a new client using the client configuration to access CDN services.
|
| Modifier and Type | Method and Description |
|---|---|
CheckDomainValidResponse |
checkDomainValid(DomainMiddleRequest request)
Query whether the domain name can be added
|
CheckDomainValidResponse |
checkDomainValid(String domain)
Query whether the domain name can be added
|
CreateDomainResponse |
createDomain(CreateDomainRequest request)
Create a new domain acceleration.
|
CommonResponse |
deleteDomain(DeleteDomainRequest request)
Delete an existing domain acceleration
|
void |
deleteDomain(String domain)
Delete an existing domain acceleration.
|
DelDomainCertResponse |
deleteDomainCert(DomainMiddleRequest request)
delete certificate of specified domain
|
DelDomainCertResponse |
deleteDomainCert(String domain) |
DescribeIpResponse |
describeIp(DescribeIpRequest request)
Get the description of certain IP address.
|
DescribeIpResponse |
describeIp(String ip)
Get the description of certain IP address.
|
DisableDomainResponse |
disableDomain(DisableDomainRequest request)
Disable an existing domain acceleration.
|
void |
disableDomain(String domain)
Disable an existing domain acceleration.
|
EnableDomainResponse |
enableDomain(EnableDomainRequest request)
Enable an existing domain acceleration.
|
void |
enableDomain(String domain)
Enable an existing domain acceleration.
|
GetCacheQuotaResponse |
getCacheQuota()
Get cache operation quota.
|
GetCacheQuotaResponse |
getCacheQuota(GetCacheQuotaRequest request)
Get cache operation quota.
|
GetCacheRecordsResponse |
getCacheRecords(GetCacheDetailRequest request)
Get cache operation records.
|
GetDomainAccessLimitResponse |
getDomainAccessLimit(DomainMiddleRequest request)
Get AccessLimit config information of specified domain acceleration.
|
GetDomainAccessLimitResponse |
getDomainAccessLimit(String domain)
Get AccessLimit config information of specified domain acceleration.
|
GetDomainCacheFullUrlResponse |
getDomainCacheFullUrl(DomainMiddleRequest request)
search domain's rule of caching filter parameter
|
GetDomainCacheFullUrlResponse |
getDomainCacheFullUrl(String domain)
search domain's rule of caching filter parameter
|
GetDomainCacheShareResponse |
getDomainCacheShare(DomainMiddleRequest request)
Get cache share config information of specified domain acceleration.
|
GetDomainCacheShareResponse |
getDomainCacheShare(String domain) |
GetDomainCacheTTLResponse |
getDomainCacheTTL(GetDomainCacheTTLRequest request)
Get cache policies of specified domain acceleration.
|
GetDomainCacheTTLResponse |
getDomainCacheTTL(String domain)
Get cache policies of specified domain acceleration.
|
GetDomainCertResponse |
getDomainCert(DomainMiddleRequest request)
Get Domain Cert detail information of specified domain acceleration.
|
GetDomainCertResponse |
getDomainCert(String domain) |
GetDomainClientIpResponse |
getDomainClientIp(DomainMiddleRequest request)
Get ClientIp config information of specified domain acceleration.
|
GetDomainClientIpResponse |
getDomainClientIp(String domain) |
GetDomainCompressResponse |
getDomainCompress(DomainMiddleRequest request)
Get Compress of specified domain acceleration.
|
GetDomainCompressResponse |
getDomainCompress(String domain)
Get Compress of specified domain acceleration.
|
GetDomainConfigResponse |
getDomainConfig(GetDomainConfigRequest request)
Get detailed information of a domain.
|
GetDomainConfigResponse |
getDomainConfig(String domain)
Get detailed information of a domain.
|
GetDomainCorsResponse |
getDomainCors(DomainMiddleRequest request)
Get Cors config information of a domain
|
GetDomainCorsResponse |
getDomainCors(String domain)
Get Cors config information of a domain
|
GetDomainErrorPageResponse |
getDomainErrorPage(DomainMiddleRequest request)
search domain's custom error page
|
GetDomainErrorPageResponse |
getDomainErrorPage(String domain)
search domain's custom error page
|
GetDomainFileTrimResponse |
getDomainFileTrim(DomainMiddleRequest request)
Get FileTrim of specified domain acceleration.
|
GetDomainFileTrimResponse |
getDomainFileTrim(String domain)
Get FileTrim of specified domain acceleration.
|
GetDomainHSTSResponse |
getDomainHSTS(DomainMiddleRequest request)
Get ipv6Dispatch config information of specified domain acceleration.
|
GetDomainHSTSResponse |
getDomainHSTS(String domain) |
GetDomainHttpHeaderResponse |
getDomainHttpHeader(DomainMiddleRequest request)
Get HttpHeader of specified domain acceleration.
|
GetDomainHttpHeaderResponse |
getDomainHttpHeader(String domain)
Get HttpHeader of specified domain acceleration.
|
GetDomainIpACLResponse |
getDomainIpACL(DomainMiddleRequest request)
Get IpACL rules of specified domain acceleration.
|
GetDomainIpACLResponse |
getDomainIpACL(String domain)
Get IpACL rules of specified domain acceleration.
|
GetDomainIPv6DispatchResponse |
getDomainIPv6Dispatch(DomainMiddleRequest request)
Get ipv6Dispatch config information of specified domain acceleration.
|
GetDomainIPv6DispatchResponse |
getDomainIPv6Dispatch(String domain) |
GetDomainListLogResponse |
getDomainListLog(GetDomainListLogRequest request)
Get multiple domain URLs of logmodel files
|
GetDomainLogResponse |
getDomainLog(GetDomainLogRequest request)
Get URLs of logmodel files
|
GetDomainMediaDragResponse |
getDomainMediaDrag(DomainMiddleRequest request)
Get MediaDrag of specified domain acceleration.
|
GetDomainMediaDragResponse |
getDomainMediaDrag(String domain)
Get MediaDrag of specified domain acceleration.
|
GetDomainMobileAccessResponse |
getDomainMobileAccess(DomainMiddleRequest request)
Get MobileAccess of specified domain acceleration.
|
GetDomainMobileAccessResponse |
getDomainMobileAccess(String domain)
Get MobileAccess of specified domain acceleration.
|
GetDomainOCSPSwitchResponse |
getDomainOCSPSwitch(DomainMiddleRequest request)
Get ipv6Dispatch config information of specified domain acceleration.
|
GetDomainOCSPSwitchResponse |
getDomainOCSPSwitch(String domain) |
GetDomainOfflineModeSwitchResponse |
getDomainOfflineModeSwitch(DomainMiddleRequest request)
Get OfflineMode config information of specified domain acceleration.
|
GetDomainOfflineModeSwitchResponse |
getDomainOfflineModeSwitch(String domain) |
GetDomainOriginProtocolResponse |
getDomainOriginProtocol(GetDomainOriginProtocolRequest request)
Get origin protocol config information of specified domain acceleration.
|
GetDomainOriginProtocolResponse |
getDomainOriginProtocol(String domain)
Get origin protocol config information of specified domain acceleration.
|
GetDomainQUICSwitchResponse |
getDomainQUICSwitch(DomainMiddleRequest request)
Get ipv6Dispatch config information of specified domain acceleration.
|
GetDomainQUICSwitchResponse |
getDomainQUICSwitch(String domain) |
GetDomainRangeSwitchResponse |
getDomainRangeSwitch(DomainMiddleRequest request)
Get RangeSwitch of specified domain acceleration.
|
GetDomainRangeSwitchResponse |
getDomainRangeSwitch(String domain)
Get RangeSwitch of specified domain acceleration.
|
GetDomainRefererACLResponse |
getDomainRefererACL(DomainMiddleRequest request)
Get RefererACL rules of specified domain acceleration.
|
GetDomainRefererACLResponse |
getDomainRefererACL(String domain)
Get RefererACL rules of specified domain acceleration.
|
GetDomainRetryOriginResponse |
getDomainRetryOrigin(DomainMiddleRequest request)
Get retry origin config information of specified domain acceleration.
|
GetDomainRetryOriginResponse |
getDomainRetryOrigin(String domain) |
GetDomainSeoSwitchResponse |
getDomainSeoSwitch(DomainMiddleRequest request)
Get SeoSwitch of specified domain acceleration.
|
GetDomainSeoSwitchResponse |
getDomainSeoSwitch(String domain)
Get SeoSwitch of specified domain acceleration.
|
GetDomainTrafficLimitResponse |
getDomainTrafficLimit(String domain)
Get trafficLimit of specified domain acceleration.
|
GetDomainUaAclResponse |
getDomainUaAcl(GetDomainUaAclRequest request)
Get UA ACL of specified domain acceleration.
|
GetDomainUaAclResponse |
getDomainUaAcl(String domain)
Get UA ACL of specified domain acceleration.
|
GetDsaDomainListResponse |
getDsaDomainList()
Get Dsa Domain List.
|
GetPrefetchStatusResponse |
getPrefetchStatus(GetPrefetchStatusRequest request)
Get prefetch status with specified attributes.
|
GetPurgeStatusResponse |
getPurgeStatus(GetPurgeStatusRequest request)
Get purge status with specified attributes.
|
GetStatAvgSpeedResponse |
getStatAvgSpeed(GetStatAvgSpeedRequest request)
Get average speed statistics with specified attributes.
|
GetStatFlowResponse |
getStatFlow(GetStatFlowRequest request)
Get flow statistics with specified attributes.
|
GetStatHitRateResponse |
getStatHitRate(GetStatHitRateRequest request)
Get hit rate statistics with specified attributes.
|
GetStatHttpCodeResponse |
getStatHttpCode(GetStatHttpCodeRequest request)
Get http code statistics with specified attributes.
|
GetStatMetricResponse |
getStatMetricData(GetStatMetricRequest request)
Get statistics metric with specified attributes (stat_version_2.0).
|
GetStatPvResponse |
getStatPv(GetStatPvRequest request)
Get pv statistics with specified attributes.
|
GetStatSrcFlowResponse |
getStatSrcFlow(GetStatSrcFlowRequest request)
Get origin flow statistics with specified attributes.
|
GetStatTopRefererResponse |
getStatTopReferer(GetStatTopRefererRequest request)
Get top http referer statistics with specified attributes.
|
GetStatTopUrlResponse |
getStatTopUrl(GetStatTopUrlRequest request)
Get top url statistics with specified attributes.
|
GetStatUvResponse |
getStatUv(GetStatUvRequest request)
Get uv statistics with specified attributes.
|
GetDomainTrafficLimitResponse |
getTrafficLimit(GetDomainTrafficLimitRequest request)
Get trafficLimit of specified domain acceleration.
|
GetUserDomainResponse |
getUserDomains(GetUserDomainsRequest request)
Return a list of user's all CDN domains that include domain and domain status
support domain name fuzzy matching filter and domain status filter
|
GetUserDomainResponse |
getUserDomains(String status)
Return a list of user's all CDN domains that include domain and domain status
support domain name fuzzy matching filter and domain status filter
|
ListDomainsResponse |
listDomains()
Returns a list of all CDN domains that the authenticated sender of the request owns.
|
ListDomainsResponse |
listDomains(ListDomainsRequest request)
Returns a list of all CDN domains that the authenticated sender of the request owns.
|
PrefetchResponse |
prefetch(PrefetchRequest request)
Post prefetch request
|
PrefetchResponse |
prefetch(String url)
Post prefetch request
|
PurgeResponse |
purge(PurgeRequest request)
Post purge request
|
PurgeResponse |
purge(String url)
Post purge request
|
PurgeResponse |
purgeDirectory(String directory)
Post purge request
|
CommonResponse |
setDomainAccessLimit(SetDomainAccessLimitRequest request)
set AccessLimit config of specified domain acceleration.
|
CommonResponse |
setDomainCacheFullUrl(SetDomainCacheFullUrlRequest request)
Update cache policy of specified domain acceleration.
|
void |
setDomainCacheFullUrl(String domain,
boolean setting)
Update cache policy of specified domain acceleration.
|
CommonResponse |
setDomainCacheShare(String domain,
SetDomainCacheShareRequest request)
Update Domain cache share of specified domain acceleration.
|
SetDomainCacheTTLResponse |
setDomainCacheTTL(SetDomainCacheTTLRequest request)
Update cache policies of specified domain acceleration.
|
SetDomainCertResponse |
setDomainCert(String domain,
SetDomainCertRequest request)
add/update certificate of specified domain
|
CommonResponse |
setDomainClientIp(SetDomainClientIpRequest request)
set ClientIp config of specified domain acceleration.
|
CommonResponse |
setDomainCompress(SetDomainCompressRequest request)
Update Compress of specified domain acceleration.
|
CommonResponse |
setDomainCors(SetDomainCorsRequest request)
set cors config of specified domain acceleration.
|
void |
setDomainDsa(SetDomainDsaRequest request)
Update Dsa rules of specified domain acceleration.
|
CommonResponse |
setDomainErrorPage(SetDomainErrorPageRequest request)
add website error page to deal with exception.
|
CommonResponse |
setDomainFileTrim(SetDomainFileTrimRequest request)
Update FileTrim of specified domain acceleration.
|
void |
setDomainFileTrim(String domain,
boolean fileTrim)
Update FileTrim of specified domain acceleration.
|
CommonResponse |
setDomainFollowProtocol(SetDomainFollowProtocolRequest request)
The configuration protocol follows back to the source
|
CommonResponse |
setDomainFollowProtocol(String domain,
boolean followProtocol)
The configuration protocol follows back to the source
|
CommonResponse |
setDomainHSTS(String domain,
SetDomainHSTSRequest request)
Update HSTS rules of specified domain acceleration.
|
CommonResponse |
setDomainHttpHeader(SetDomainHttpHeaderRequest request)
Update HttpHeader of specified domain acceleration.
|
CommonResponse |
setDomainIpACL(SetDomainIpACLRequest request)
Update IpACL rules of specified domain acceleration.
|
CommonResponse |
setDomainIPv6Dispatch(String domain,
SetDomainIPv6DispatchRequest request)
Update ipv6Dispatch of specified domain acceleration.
|
CommonResponse |
setDomainLimitRate(SetDomainLimitRateRequest request)
Set the rate limit of specified domain acceleration.
|
void |
setDomainLimitRate(String domain,
int limitRate)
Set the rate limit of specified domain acceleration.
|
CommonResponse |
setDomainMediaDrag(SetDomainMediaDragRequest request)
Update MediaDrag of specified domain acceleration.
|
CommonResponse |
setDomainMobileAccess(SetDomainMobileAccessRequest request)
Update MobileAccess of specified domain acceleration.
|
CommonResponse |
setDomainOCSPSwitch(SetDomainOCSPRequest request)
Update OCSP of specified domain acceleration.
|
CommonResponse |
setDomainOfflineModeSwitch(String domain,
SetDomainOfflineModeRequest request)
Update offline mode of specified domain acceleration.
|
CommonResponse |
setDomainOrigin(SetDomainOriginRequest request)
Update origin of specified domain acceleration.
|
void |
setDomainOrigin(String domain,
String peer)
Update origin of specified domain acceleration.
|
CommonResponse |
setDomainOriginProtocol(SetDomainOriginProtocolRequest request)
set origin protocal config of specified domain acceleration.
|
CommonResponse |
setDomainQUICSwitch(String domain,
SetDomainQUICRequest request)
Update QUIC of specified domain acceleration.
|
CommonResponse |
setDomainRangeSwitch(SetDomainRangeSwitchRequest request)
Update RangeSwitch of specified domain acceleration.
|
CommonResponse |
setDomainRangeSwitch(String domain,
boolean rangeSwitch)
Update RangeSwitch of specified domain acceleration.
|
CommonResponse |
setDomainRefererACL(SetDomainRefererACLRequest request)
Update RefererACL rules of specified domain acceleration.
|
CommonResponse |
setDomainRetryOrigin(String domain,
SetDomainRetryOriginRequest request)
Update retry origin of specified domain acceleration.
|
CommonResponse |
setDomainSeoSwitch(SetDomainSeoSwitchRequest request)
Update SeoSwitch of specified domain acceleration.
|
CommonResponse |
setDomainTrafficLimit(SetDomainTrafficLimitRequest request)
Set the traffic limit of specified domain acceleration.
|
CommonResponse |
setDomainUaAcl(SetDomainUaAclRequest request)
Set the UA ACL of specified domain acceleration.
|
void |
setDsa(SetDsaRequest request)
Update dsa service of specified domain acceleration.
|
CommonResponse |
setHttpsConfig(SetHttpsConfigRequest request)
Set HTTPS with certain configuration.
|
void |
setHttpsConfig(String domain,
HttpsConfig https)
Set HTTPS with certain configuration.
|
CommonResponse |
setRequestAuth(SetRequestAuthRequest request)
Set the request authentication.
|
void |
setRequestAuth(String domain,
RequestAuth requestAuth)
Set the request authentication.
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic CdnClient()
public CdnClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this client
connects to Document services (e.g. proxy settings, retry counts, etc).public CreateDomainResponse createDomain(CreateDomainRequest request)
request - The request containing user-defined domain information.public void enableDomain(String domain)
domain - The specified domain name.public EnableDomainResponse enableDomain(EnableDomainRequest request)
request - The request containing user-defined domain information.public void disableDomain(String domain)
domain - Name of the domain.public DisableDomainResponse disableDomain(DisableDomainRequest request)
request - The request containing user-defined domain information.public void deleteDomain(String domain)
domain - Name of the domain.public CommonResponse deleteDomain(DeleteDomainRequest request)
request - The request containing user-defined domain information.public ListDomainsResponse listDomains()
public ListDomainsResponse listDomains(ListDomainsRequest request)
request - The request containing all of the options related to the listing of domains.public GetUserDomainResponse getUserDomains(String status)
status - search domain status (ALL | RUNNING | STOPPED | OPERATING)public GetUserDomainResponse getUserDomains(GetUserDomainsRequest request)
request - The request containing all of the options related to the listing of domains.public CheckDomainValidResponse checkDomainValid(String domain)
domain - check domainpublic CheckDomainValidResponse checkDomainValid(DomainMiddleRequest request)
request - The request containing check parameter domain.public GetDomainConfigResponse getDomainConfig(String domain)
domain - Name of the domain.public GetDomainConfigResponse getDomainConfig(GetDomainConfigRequest request)
request - The request containing all of the options related to the domain.public void setDomainOrigin(String domain, String peer)
domain - Name of the domain.peer - The peer address of new origin.public CommonResponse setDomainOrigin(SetDomainOriginRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainFollowProtocol(String domain, boolean followProtocol)
domain - Name of the domain.followProtocol - Whether the back source protocol is consistent with the request protocolpublic CommonResponse setDomainFollowProtocol(SetDomainFollowProtocolRequest request)
request - The request containing all of the options related to the update request.public CommonResponse setDomainRangeSwitch(String domain, boolean rangeSwitch)
domain - domain's namerangeSwitch - The request containing all of the options related to the domain.public CommonResponse setDomainRangeSwitch(SetDomainRangeSwitchRequest request)
request - The request containing all of the options related to the domain.public GetDomainRangeSwitchResponse getDomainRangeSwitch(String domain)
domain - Name of the domain.public GetDomainRangeSwitchResponse getDomainRangeSwitch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainMobileAccess(SetDomainMobileAccessRequest request)
request - The request containing all of the options related to the domain.public GetDomainMobileAccessResponse getDomainMobileAccess(String domain)
domain - Name of the domain.public GetDomainMobileAccessResponse getDomainMobileAccess(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainHttpHeader(SetDomainHttpHeaderRequest request)
request - The request containing all of the options related to the domain.public GetDomainHttpHeaderResponse getDomainHttpHeader(String domain)
domain - Name of the domain.public GetDomainHttpHeaderResponse getDomainHttpHeader(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainSeoSwitch(SetDomainSeoSwitchRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainOCSPSwitch(SetDomainOCSPRequest request)
request - domain and switchpublic GetDomainOCSPSwitchResponse getDomainOCSPSwitch(String domain)
public GetDomainOCSPSwitchResponse getDomainOCSPSwitch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainQUICSwitch(String domain, SetDomainQUICRequest request)
domain - request - public GetDomainQUICSwitchResponse getDomainQUICSwitch(String domain)
public GetDomainQUICSwitchResponse getDomainQUICSwitch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainOfflineModeSwitch(String domain, SetDomainOfflineModeRequest request)
domain - request - public GetDomainOfflineModeSwitchResponse getDomainOfflineModeSwitch(String domain)
public GetDomainOfflineModeSwitchResponse getDomainOfflineModeSwitch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public GetDomainSeoSwitchResponse getDomainSeoSwitch(String domain)
domain - Name of the domain.public SetDomainCertResponse setDomainCert(String domain, SetDomainCertRequest request)
domain - request - public DelDomainCertResponse deleteDomainCert(String domain)
public DelDomainCertResponse deleteDomainCert(DomainMiddleRequest request)
request - public GetDomainCertResponse getDomainCert(String domain)
public GetDomainCertResponse getDomainCert(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainHSTS(String domain, SetDomainHSTSRequest request)
domain - domainrequest - The request containing all of the options related to the update request.public GetDomainHSTSResponse getDomainHSTS(String domain)
public GetDomainHSTSResponse getDomainHSTS(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainIPv6Dispatch(String domain, SetDomainIPv6DispatchRequest request)
domain - request - public GetDomainIPv6DispatchResponse getDomainIPv6Dispatch(String domain)
public GetDomainIPv6DispatchResponse getDomainIPv6Dispatch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainCacheShare(String domain, SetDomainCacheShareRequest request)
domain - request - public GetDomainCacheShareResponse getDomainCacheShare(String domain)
public GetDomainCacheShareResponse getDomainCacheShare(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public GetDomainSeoSwitchResponse getDomainSeoSwitch(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public void setDomainFileTrim(String domain, boolean fileTrim)
domain - Name of the domain.fileTrim - Whether to enable page optimizationpublic CommonResponse setDomainFileTrim(SetDomainFileTrimRequest request)
request - The request containing all of the options related to the domain.public GetDomainFileTrimResponse getDomainFileTrim(String domain)
domain - Name of the domain.public GetDomainFileTrimResponse getDomainFileTrim(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainMediaDrag(SetDomainMediaDragRequest request)
request - The request containing all of the options related to the domain.public GetDomainMediaDragResponse getDomainMediaDrag(String domain)
domain - Name of the domain.public GetDomainMediaDragResponse getDomainMediaDrag(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainCompress(SetDomainCompressRequest request)
request - The request containing all of the options related to the domain.public GetDomainCompressResponse getDomainCompress(String domain)
domain - Name of the domain.public GetDomainCompressResponse getDomainCompress(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public GetDomainCacheTTLResponse getDomainCacheTTL(String domain)
domain - Name of the domain.public GetDomainCacheTTLResponse getDomainCacheTTL(GetDomainCacheTTLRequest request)
request - The request containing all of the options related to the domain.public SetDomainCacheTTLResponse setDomainCacheTTL(SetDomainCacheTTLRequest request)
request - The request containing all of the options related to the update request.public CommonResponse setDomainRetryOrigin(String domain, SetDomainRetryOriginRequest request)
domain - request - public GetDomainRetryOriginResponse getDomainRetryOrigin(String domain)
public GetDomainRetryOriginResponse getDomainRetryOrigin(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public void setDomainCacheFullUrl(String domain, boolean setting)
domain - Name of the domain.setting - For true, treat the full URL as unique cache id, otherwise
ignore query string parameters.public CommonResponse setDomainCacheFullUrl(SetDomainCacheFullUrlRequest request)
request - The request containing all of the options related to the update request.public GetDomainCacheFullUrlResponse getDomainCacheFullUrl(String domain)
domain - Name of the domain.public GetDomainCacheFullUrlResponse getDomainCacheFullUrl(DomainMiddleRequest request)
request - The request containing all of the options related to the get cache full url request.public CommonResponse setDomainErrorPage(SetDomainErrorPageRequest request)
request - The request containing all of the options related to the set request.public GetDomainErrorPageResponse getDomainErrorPage(String domain)
domain - Name of the domain.public GetDomainErrorPageResponse getDomainErrorPage(DomainMiddleRequest request)
request - The request containing all of the options related to the get error page request.public CommonResponse setDomainRefererACL(SetDomainRefererACLRequest request)
request - The request containing all of the options related to the update request.public GetDomainRefererACLResponse getDomainRefererACL(String domain)
domain - The request containing all of the options related to the get refererACL.public GetDomainRefererACLResponse getDomainRefererACL(DomainMiddleRequest request)
request - The request containing all of the options related to the get refererACL.public CommonResponse setDomainIpACL(SetDomainIpACLRequest request)
request - The request containing all of the options related to the update request.public GetDomainIpACLResponse getDomainIpACL(String domain)
domain - The request containing all of the options related to the get IpACL.public GetDomainIpACLResponse getDomainIpACL(DomainMiddleRequest request)
request - The request containing all of the options related to the Get IpACL.public void setDomainLimitRate(String domain, int limitRate)
domain - Name of the domain.limitRate - The limit of downloading rate, in Bytes/s.public CommonResponse setDomainLimitRate(SetDomainLimitRateRequest request)
request - The request containing all of the options related to the update request.public CommonResponse setDomainTrafficLimit(SetDomainTrafficLimitRequest request)
request - public GetDomainTrafficLimitResponse getDomainTrafficLimit(String domain)
domain - public GetDomainTrafficLimitResponse getTrafficLimit(GetDomainTrafficLimitRequest request)
request - public CommonResponse setDomainUaAcl(SetDomainUaAclRequest request)
request - public GetDomainUaAclResponse getDomainUaAcl(String domain)
domain - public GetDomainUaAclResponse getDomainUaAcl(GetDomainUaAclRequest request)
request - public CommonResponse setDomainCors(SetDomainCorsRequest request)
request - The request containing all of the options related to the update request.public GetDomainCorsResponse getDomainCors(String domain)
domain - domain's namepublic GetDomainCorsResponse getDomainCors(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainAccessLimit(SetDomainAccessLimitRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainOriginProtocol(SetDomainOriginProtocolRequest request)
request - public GetDomainOriginProtocolResponse getDomainOriginProtocol(String domain)
domain - public GetDomainOriginProtocolResponse getDomainOriginProtocol(GetDomainOriginProtocolRequest request)
request - public GetDomainAccessLimitResponse getDomainAccessLimit(String domain)
domain - domain's namepublic GetDomainAccessLimitResponse getDomainAccessLimit(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public CommonResponse setDomainClientIp(SetDomainClientIpRequest request)
request - The request containing all of the options related to the domain.public GetDomainClientIpResponse getDomainClientIp(String domain)
public GetDomainClientIpResponse getDomainClientIp(DomainMiddleRequest request)
request - The request containing all of the options related to the domain.public void setHttpsConfig(String domain, HttpsConfig https)
domain - Name of the domain.https - The configuration of HTTPS.public CommonResponse setHttpsConfig(SetHttpsConfigRequest request)
request - The request containing all of the options related to the update request.public void setRequestAuth(String domain, RequestAuth requestAuth)
domain - Name of the domain.requestAuth - The configuration of authentication.public CommonResponse setRequestAuth(SetRequestAuthRequest request)
request - The request containing all of the options related to the update request.public PrefetchResponse prefetch(String url)
url - The URL to be prefetched.public PrefetchResponse prefetch(PrefetchRequest request)
request - The request containing all of the URLs to be prefetched.public PurgeResponse purge(String url)
url - The URL to be purged.public PurgeResponse purgeDirectory(String directory)
directory - The directory to be purged.public PurgeResponse purge(PurgeRequest request)
request - The request containing all of the URLs to be purged.public GetPurgeStatusResponse getPurgeStatus(GetPurgeStatusRequest request)
request - The request containing the task id returned by purge operation.public GetPrefetchStatusResponse getPrefetchStatus(GetPrefetchStatusRequest request)
request - The request containing the task id returned by prefetch operation.public GetStatPvResponse getStatPv(GetStatPvRequest request)
request - The request containing all the options related to the statistics.public GetStatFlowResponse getStatFlow(GetStatFlowRequest request)
request - The request containing all the options related to the statistics.public GetStatSrcFlowResponse getStatSrcFlow(GetStatSrcFlowRequest request)
request - The request containing all the options related to the statistics.public GetStatHitRateResponse getStatHitRate(GetStatHitRateRequest request)
request - The request containing all the options related to the statistics.public GetStatHttpCodeResponse getStatHttpCode(GetStatHttpCodeRequest request)
request - The request containing all the options related to the statistics.public GetStatTopUrlResponse getStatTopUrl(GetStatTopUrlRequest request)
request - The request containing all the options related to the statistics.public GetStatTopRefererResponse getStatTopReferer(GetStatTopRefererRequest request)
request - The request containing all the options related to the statistics.public GetStatUvResponse getStatUv(GetStatUvRequest request)
request - The request containing all the options related to the statistics.public GetStatAvgSpeedResponse getStatAvgSpeed(GetStatAvgSpeedRequest request)
request - The request containing all the options related to the statistics.public GetCacheQuotaResponse getCacheQuota()
public GetCacheQuotaResponse getCacheQuota(GetCacheQuotaRequest request)
request - The request containing all the options related to the statistics.public GetCacheRecordsResponse getCacheRecords(GetCacheDetailRequest request)
request - The request containing all the options related to the CacheRecords.public void setDsa(SetDsaRequest request)
request - The request containing all of the options related to the update request.public GetDsaDomainListResponse getDsaDomainList()
public void setDomainDsa(SetDomainDsaRequest request)
request - The request containing all of the options related to the update request.public GetDomainLogResponse getDomainLog(GetDomainLogRequest request)
request - The request containing all the options related to the statistics.public GetDomainListLogResponse getDomainListLog(GetDomainListLogRequest request)
request - The request containing all the options related to the statistics.public DescribeIpResponse describeIp(String ip)
ip - IP address.public DescribeIpResponse describeIp(DescribeIpRequest request)
request - The request containing all the options related to the statistics.public GetStatMetricResponse getStatMetricData(GetStatMetricRequest request)
request - The request containing all the options related to the statistics.Copyright © 2021. All rights reserved.