public class Cache extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Cache() | 
| Cache(Cache 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 | 
|---|---|
| AdvancedCache | getAdvancedCache()Get 高级缓存过期时间配置(已弃用)
注意:此字段可能返回 null,表示取不到有效值。 | 
| RuleCache[] | getRuleCache()Get 高级路径缓存配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| SimpleCache | getSimpleCache()Get 基础缓存过期时间配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAdvancedCache(AdvancedCache AdvancedCache)Set 高级缓存过期时间配置(已弃用)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRuleCache(RuleCache[] RuleCache)Set 高级路径缓存配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setSimpleCache(SimpleCache SimpleCache)Set 基础缓存过期时间配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Cache()
public Cache(Cache source)
public SimpleCache getSimpleCache()
public void setSimpleCache(SimpleCache SimpleCache)
SimpleCache - 基础缓存过期时间配置
注意:此字段可能返回 null,表示取不到有效值。public AdvancedCache getAdvancedCache()
public void setAdvancedCache(AdvancedCache AdvancedCache)
AdvancedCache - 高级缓存过期时间配置(已弃用)
注意:此字段可能返回 null,表示取不到有效值。public RuleCache[] getRuleCache()
public void setRuleCache(RuleCache[] RuleCache)
RuleCache - 高级路径缓存配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.