public class CacheKeyConfigParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKeyConfigParameters() |
CacheKeyConfigParameters(CacheKeyConfigParameters 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:关闭全路径缓存(即开启参数忽略)。
|
String |
getIgnoreCase()
Get 是否忽略大小写缓存,取值有:
on:忽略;
off:不忽略。
|
CacheKeyQueryString |
getQueryString()
Get 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
|
void |
setFullURLCache(String FullURLCache)
Set 是否开启全路径缓存,取值有:
on:开启全路径缓存(即关闭参数忽略);
off:关闭全路径缓存(即开启参数忽略)。
|
void |
setIgnoreCase(String IgnoreCase)
Set 是否忽略大小写缓存,取值有:
on:忽略;
off:不忽略。
|
void |
setQueryString(CacheKeyQueryString QueryString)
Set 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
|
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, toJsonString
public CacheKeyConfigParameters()
public CacheKeyConfigParameters(CacheKeyConfigParameters source)
public String getFullURLCache()
public void setFullURLCache(String FullURLCache)
FullURLCache
- 是否开启全路径缓存,取值有:
public String getIgnoreCase()
public void setIgnoreCase(String IgnoreCase)
IgnoreCase
- 是否忽略大小写缓存,取值有:
public CacheKeyQueryString getQueryString()
public void setQueryString(CacheKeyQueryString QueryString)
QueryString
- 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。Copyright © 2025. All rights reserved.