public class CacheKeyParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKeyParameters() |
CacheKeyParameters(CacheKeyParameters 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 |
---|---|
CacheKeyCookie |
getCookie()
Get Cookie 配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getFullURLCache()
Get 查询字符串全部保留开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。此字段和 QueryString.Switch 必须同时设置,但不能同为 on。
|
CacheKeyHeader |
getHeader()
Get HTTP 请求头配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getIgnoreCase()
Get 忽略大小写开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
|
CacheKeyQueryString |
getQueryString()
Get 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getScheme()
Get 请求协议开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
|
void |
setCookie(CacheKeyCookie Cookie)
Set Cookie 配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFullURLCache(String FullURLCache)
Set 查询字符串全部保留开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。此字段和 QueryString.Switch 必须同时设置,但不能同为 on。
|
void |
setHeader(CacheKeyHeader Header)
Set HTTP 请求头配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIgnoreCase(String IgnoreCase)
Set 忽略大小写开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
|
void |
setQueryString(CacheKeyQueryString QueryString)
Set 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setScheme(String Scheme)
Set 请求协议开关,取值有:
on:开启;
off:关闭。注意:FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
|
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 CacheKeyParameters()
public CacheKeyParameters(CacheKeyParameters source)
public String getFullURLCache()
public void setFullURLCache(String FullURLCache)
FullURLCache
- 查询字符串全部保留开关,取值有:
public CacheKeyQueryString getQueryString()
public void setQueryString(CacheKeyQueryString QueryString)
QueryString
- 查询字符串保留配置参数。此字段和 FullURLCache 必须同时设置,但不能同为 on。
注意:此字段可能返回 null,表示取不到有效值。public String getIgnoreCase()
public void setIgnoreCase(String IgnoreCase)
IgnoreCase
- 忽略大小写开关,取值有:
public CacheKeyHeader getHeader()
public void setHeader(CacheKeyHeader Header)
Header
- HTTP 请求头配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。public String getScheme()
public void setScheme(String Scheme)
Scheme
- 请求协议开关,取值有:
public CacheKeyCookie getCookie()
public void setCookie(CacheKeyCookie Cookie)
Cookie
- Cookie 配置参数。FullURLCache、IgnoreCase、Header、Scheme、Cookie 至少设置一个配置。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.