public class CacheKeyQueryString extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKeyQueryString() |
CacheKeyQueryString(CacheKeyQueryString 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 查询字符串保留/忽略指定参数动作。取值有:
includeCustom:表示保留部分参数;
excludeCustom:表示忽略部分参数。注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
|
String |
getSwitch()
Get 查询字符串保留/忽略指定参数开关,取值有:
on:开启;
off:关闭。
|
String[] |
getValues()
Get 查询字符串中需保留/忽略的参数名列表。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setAction(String Action)
Set 查询字符串保留/忽略指定参数动作。取值有:
includeCustom:表示保留部分参数;
excludeCustom:表示忽略部分参数。注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。
|
void |
setSwitch(String Switch)
Set 查询字符串保留/忽略指定参数开关,取值有:
on:开启;
off:关闭。
|
void |
setValues(String[] Values)
Set 查询字符串中需保留/忽略的参数名列表。
注意:当 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 CacheKeyQueryString()
public CacheKeyQueryString(CacheKeyQueryString 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
- 查询字符串中需保留/忽略的参数名列表。Copyright © 2025. All rights reserved.