public class CacheKeyHeader extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKeyHeader() |
CacheKeyHeader(CacheKeyHeader 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 |
getSwitch()
Get 功能开关,取值有:
on:开启;
off:关闭。
|
String[] |
getValues()
Get 自定义 Cache Key HTTP 请求头列表。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setSwitch(String Switch)
Set 功能开关,取值有:
on:开启;
off:关闭。
|
void |
setValues(String[] Values)
Set 自定义 Cache Key HTTP 请求头列表。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
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 CacheKeyHeader()
public CacheKeyHeader(CacheKeyHeader source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 功能开关,取值有:
public String[] getValues()
public void setValues(String[] Values)
Values
- 自定义 Cache Key HTTP 请求头列表。Copyright © 2025. All rights reserved.