public class CacheKey extends AbstractModel
Constructor and Description |
---|
CacheKey() |
CacheKey(CacheKey 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 |
---|---|
String |
getFullUrlCache()
Get 是否开启全路径缓存,取值有:
on:开启全路径缓存(即关闭参数忽略);
off:关闭全路径缓存(即开启参数忽略)。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getIgnoreCase()
Get 是否忽略大小写缓存,取值有:
on:忽略;
off:不忽略。
注意:此字段可能返回 null,表示取不到有效值。
|
QueryString |
getQueryString()
Get CacheKey中包含请求参数。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFullUrlCache(String FullUrlCache)
Set 是否开启全路径缓存,取值有:
on:开启全路径缓存(即关闭参数忽略);
off:关闭全路径缓存(即开启参数忽略)。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIgnoreCase(String IgnoreCase)
Set 是否忽略大小写缓存,取值有:
on:忽略;
off:不忽略。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setQueryString(QueryString QueryString)
Set CacheKey中包含请求参数。
注意:此字段可能返回 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 CacheKey()
public CacheKey(CacheKey source)
public String getFullUrlCache()
public void setFullUrlCache(String FullUrlCache)
FullUrlCache
- 是否开启全路径缓存,取值有:
public String getIgnoreCase()
public void setIgnoreCase(String IgnoreCase)
IgnoreCase
- 是否忽略大小写缓存,取值有:
public QueryString getQueryString()
public void setQueryString(QueryString QueryString)
QueryString
- CacheKey中包含请求参数。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.