public class StrategyForAntiInfoLeak extends AbstractModel
header, skipSign
Constructor and Description |
---|
StrategyForAntiInfoLeak() |
StrategyForAntiInfoLeak(StrategyForAntiInfoLeak 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 |
getCompareFunc()
Get 逻辑符号,固定取值为contains
|
String |
getContent()
Get 匹配内容。
以下三个对应Field为information时可取的匹配内容:
idcard(身份证)、phone(手机号)、bankcard(银行卡)。
以下为对应Field为returncode时可取的匹配内容:
400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。
当对应Field为keywords时由用户自己输入匹配内容。
|
String |
getField()
Get 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
|
void |
setCompareFunc(String CompareFunc)
Set 逻辑符号,固定取值为contains
|
void |
setContent(String Content)
Set 匹配内容。
以下三个对应Field为information时可取的匹配内容:
idcard(身份证)、phone(手机号)、bankcard(银行卡)。
以下为对应Field为returncode时可取的匹配内容:
400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。
当对应Field为keywords时由用户自己输入匹配内容。
|
void |
setField(String Field)
Set 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StrategyForAntiInfoLeak()
public StrategyForAntiInfoLeak(StrategyForAntiInfoLeak source)
public String getField()
public void setField(String Field)
Field
- 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)public String getCompareFunc()
public void setCompareFunc(String CompareFunc)
CompareFunc
- 逻辑符号,固定取值为containspublic String getContent()
public void setContent(String Content)
Content
- 匹配内容。
以下三个对应Field为information时可取的匹配内容:
idcard(身份证)、phone(手机号)、bankcard(银行卡)。
以下为对应Field为returncode时可取的匹配内容:
400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。
当对应Field为keywords时由用户自己输入匹配内容。Copyright © 2024. All rights reserved.