public class CacheConfig extends AbstractModel
Constructor and Description |
---|
CacheConfig() |
CacheConfig(CacheConfig 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 |
---|---|
Cache |
getCache()
Get Cache configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
FollowOrigin |
getFollowOrigin()
Get Follows the origin server configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
NoCache |
getNoCache()
Get No-cache configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCache(Cache Cache)
Set Cache configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFollowOrigin(FollowOrigin FollowOrigin)
Set Follows the origin server configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNoCache(NoCache NoCache)
Set No-cache configuration
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 CacheConfig()
public CacheConfig(CacheConfig source)
public Cache getCache()
public void setCache(Cache Cache)
Cache
- Cache configuration
Note: This field may return null, indicating that no valid values can be obtained.public NoCache getNoCache()
public void setNoCache(NoCache NoCache)
NoCache
- No-cache configuration
Note: This field may return null, indicating that no valid values can be obtained.public FollowOrigin getFollowOrigin()
public void setFollowOrigin(FollowOrigin FollowOrigin)
FollowOrigin
- Follows the origin server configuration
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.