public class AdvancedCache extends AbstractModel
Constructor and Description |
---|
AdvancedCache() |
Modifier and Type | Method and Description |
---|---|
AdvanceCacheRule[] |
getCacheRules()
Get Cache expiration rule
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getIgnoreCacheControl()
Get Forced cache configuration
on: enabled
off: disabled
When this is enabled, if the origin server returns no-cache, no-store headers, node caching will still be performed according to the cache expiration rules.
|
String |
getIgnoreSetCookie()
Get Ignore the Set-Cookie header of an origin server
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setCacheRules(AdvanceCacheRule[] CacheRules)
Set Cache expiration rule
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setIgnoreCacheControl(String IgnoreCacheControl)
Set Forced cache configuration
on: enabled
off: disabled
When this is enabled, if the origin server returns no-cache, no-store headers, node caching will still be performed according to the cache expiration rules.
|
void |
setIgnoreSetCookie(String IgnoreSetCookie)
Set Ignore the Set-Cookie header of an origin server
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.
|
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 AdvanceCacheRule[] getCacheRules()
public void setCacheRules(AdvanceCacheRule[] CacheRules)
CacheRules
- Cache expiration rule
Note: this field may return null, indicating that no valid values can be obtained.public String getIgnoreCacheControl()
public void setIgnoreCacheControl(String IgnoreCacheControl)
IgnoreCacheControl
- Forced cache configuration
on: enabled
off: disabled
When this is enabled, if the origin server returns no-cache, no-store headers, node caching will still be performed according to the cache expiration rules.
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.public String getIgnoreSetCookie()
public void setIgnoreSetCookie(String IgnoreSetCookie)
IgnoreSetCookie
- Ignore the Set-Cookie header of an origin server
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.