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