public class CacheKeyCookie extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKeyCookie() |
CacheKeyCookie(CacheKeyCookie 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 |
getAction()
Get 缓存动作,取值有:
full:全部保留;
ignore:全部忽略;
includeCustom:保留指定参数;
excludeCustom:忽略指定参数。注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
|
String |
getSwitch()
Get 功能开关,取值有:
on:开启;
off:关闭。
|
String[] |
getValues()
Get 自定义 Cache Key Cookie 名称列表。
注意:当 Action 为 includeCustom 或 excludeCustom 时,此字段必填;当 Action 为 full 或 ignore 时,无需填写此字段,若填写则不生效。 |
void |
setAction(String Action)
Set 缓存动作,取值有:
full:全部保留;
ignore:全部忽略;
includeCustom:保留指定参数;
excludeCustom:忽略指定参数。注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
|
void |
setSwitch(String Switch)
Set 功能开关,取值有:
on:开启;
off:关闭。
|
void |
setValues(String[] Values)
Set 自定义 Cache Key Cookie 名称列表。
注意:当 Action 为 includeCustom 或 excludeCustom 时,此字段必填;当 Action 为 full 或 ignore 时,无需填写此字段,若填写则不生效。 |
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 CacheKeyCookie()
public CacheKeyCookie(CacheKeyCookie source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 功能开关,取值有:
public String getAction()
public void setAction(String Action)
Action
- 缓存动作,取值有:
public String[] getValues()
public void setValues(String[] Values)
Values
- 自定义 Cache Key Cookie 名称列表。Copyright © 2025. All rights reserved.