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 缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
FollowOrigin |
getFollowOrigin()
Get 遵循源站配置。
注意:此字段可能返回 null,表示取不到有效值。
|
NoCache |
getNoCache()
Get 不缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCache(Cache Cache)
Set 缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFollowOrigin(FollowOrigin FollowOrigin)
Set 遵循源站配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNoCache(NoCache NoCache)
Set 不缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
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
- 缓存配置。
注意:此字段可能返回 null,表示取不到有效值。public NoCache getNoCache()
public void setNoCache(NoCache NoCache)
NoCache
- 不缓存配置。
注意:此字段可能返回 null,表示取不到有效值。public FollowOrigin getFollowOrigin()
public void setFollowOrigin(FollowOrigin FollowOrigin)
FollowOrigin
- 遵循源站配置。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.