public class UpstreamRequestCookie extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpstreamRequestCookie() | 
| UpstreamRequestCookie(UpstreamRequestCookie 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 回源请求参数 Cookie 模式。当 Switch 为 on 时,该参数必填。取值有:
full:表示全部保留;
ignore:表示全部忽略;
includeCustom:表示保留部分参数;
excludeCustom:表示忽略部分参数。 | 
| String | getSwitch()Get 回源请求参数 Cookie 配置开关,取值有:
on:开启;
off:关闭。 | 
| String[] | getValues()Get 指定参数值。仅当查询字符串模式 Action 为 includeCustom 或者 excludeCustom 时该参数生效,用于指定需要保留或者忽略的参数。最大支持 10 个参数。 | 
| void | setAction(String Action)Set 回源请求参数 Cookie 模式。当 Switch 为 on 时,该参数必填。取值有:
full:表示全部保留;
ignore:表示全部忽略;
includeCustom:表示保留部分参数;
excludeCustom:表示忽略部分参数。 | 
| void | setSwitch(String Switch)Set 回源请求参数 Cookie 配置开关,取值有:
on:开启;
off:关闭。 | 
| void | setValues(String[] Values)Set 指定参数值。仅当查询字符串模式 Action 为 includeCustom 或者 excludeCustom 时该参数生效,用于指定需要保留或者忽略的参数。最大支持 10 个参数。 | 
| 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, toJsonStringpublic UpstreamRequestCookie()
public UpstreamRequestCookie(UpstreamRequestCookie source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 回源请求参数 Cookie 配置开关,取值有:
public String getAction()
public void setAction(String Action)
Action - 回源请求参数 Cookie 模式。当 Switch 为 on 时,该参数必填。取值有:
public String[] getValues()
public void setValues(String[] Values)
Values - 指定参数值。仅当查询字符串模式 Action 为 includeCustom 或者 excludeCustom 时该参数生效,用于指定需要保留或者忽略的参数。最大支持 10 个参数。Copyright © 2025. All rights reserved.