public class ExceptUserRuleCondition extends AbstractModel
skipSign
Constructor and Description |
---|
ExceptUserRuleCondition() |
ExceptUserRuleCondition(ExceptUserRuleCondition 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 |
getMatchContent()
Get 匹配值。
|
String |
getMatchFrom()
Get 匹配项,取值有:
host:请求域名;
sip:客户端IP;
ua:User-Agent;
cookie:会话 Cookie;
cgi:CGI 脚本;
xff:XFF 扩展头部;
url:请求 URL;
accept:请求内容类型;
method:请求方式;
header:请求头部;
sip_proto:网络层协议。
|
String |
getMatchParam()
Get 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
|
String |
getOperator()
Get 匹配操作符,取值有:
equal:字符串等于;
not_equal:数值不等于;
include:字符包含;
not_include:字符不包含;
match:ip匹配;
not_match:ip不匹配;
include_area:地域包含;
is_empty:存在字段但值为空;
not_exists:不存在关键字段;
regexp:正则匹配;
len_gt:数值大于;
len_lt:数值小于;
len_eq:数值等于;
match_prefix:前缀匹配;
match_suffix:后缀匹配;
wildcard:通配符。
|
void |
setMatchContent(String MatchContent)
Set 匹配值。
|
void |
setMatchFrom(String MatchFrom)
Set 匹配项,取值有:
host:请求域名;
sip:客户端IP;
ua:User-Agent;
cookie:会话 Cookie;
cgi:CGI 脚本;
xff:XFF 扩展头部;
url:请求 URL;
accept:请求内容类型;
method:请求方式;
header:请求头部;
sip_proto:网络层协议。
|
void |
setMatchParam(String MatchParam)
Set 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
|
void |
setOperator(String Operator)
Set 匹配操作符,取值有:
equal:字符串等于;
not_equal:数值不等于;
include:字符包含;
not_include:字符不包含;
match:ip匹配;
not_match:ip不匹配;
include_area:地域包含;
is_empty:存在字段但值为空;
not_exists:不存在关键字段;
regexp:正则匹配;
len_gt:数值大于;
len_lt:数值小于;
len_eq:数值等于;
match_prefix:前缀匹配;
match_suffix:后缀匹配;
wildcard:通配符。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ExceptUserRuleCondition()
public ExceptUserRuleCondition(ExceptUserRuleCondition source)
public String getMatchFrom()
public void setMatchFrom(String MatchFrom)
MatchFrom
- 匹配项,取值有:
public String getMatchParam()
public void setMatchParam(String MatchParam)
MatchParam
- 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。public String getOperator()
public void setOperator(String Operator)
Operator
- 匹配操作符,取值有:
public String getMatchContent()
public void setMatchContent(String MatchContent)
MatchContent
- 匹配值。Copyright © 2023. All rights reserved.