public class StatusCodeCache extends AbstractModel
Constructor and Description |
---|
StatusCodeCache() |
Modifier and Type | Method and Description |
---|---|
StatusCodeCacheRule[] |
getCacheRules()
Get 状态码缓存过期规则明细
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 状态码缓存过期配置开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCacheRules(StatusCodeCacheRule[] CacheRules)
Set 状态码缓存过期规则明细
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 状态码缓存过期配置开关
on:开启
off:关闭
注意:此字段可能返回 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 String getSwitch()
public void setSwitch(String Switch)
Switch
- 状态码缓存过期配置开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public StatusCodeCacheRule[] getCacheRules()
public void setCacheRules(StatusCodeCacheRule[] CacheRules)
CacheRules
- 状态码缓存过期规则明细
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2020. All rights reserved.