public class AclCondition extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AclCondition() |
AclCondition(AclCondition 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 The content to match.
|
String |
getMatchFrom()
Get Filters:
`host`: Request domain name;
`sip`: Client IP;
`ua`: User-Agent;
`cookie`: Cookie;
`cgi`: CGI script;
`xff`: XFF header;
`url`: Request URL;
`accept`: Request content type;
`method`: Request method<;/li>
`header`: Request header;
`app_proto`: Application layer protocol;
`sip_proto`: Network layer protocol;
`uabot`: UA rules (only available in custom bot rules);
`idcid`: IDC rules (only available in custom bot rules);
`sipbot`: Search engine rules (only available in custom bot rules);
`portrait`: Client reputation (only available in custom bot rules);
`header_seq`: Header sequence (only available in custom bot rules);
`hdr`: Request body (only available in custom Web protection rules).
|
String |
getMatchParam()
Get The parameter of the field.
|
String |
getOperator()
Get The logical operator.
|
void |
setMatchContent(String MatchContent)
Set The content to match.
|
void |
setMatchFrom(String MatchFrom)
Set Filters:
`host`: Request domain name;
`sip`: Client IP;
`ua`: User-Agent;
`cookie`: Cookie;
`cgi`: CGI script;
`xff`: XFF header;
`url`: Request URL;
`accept`: Request content type;
`method`: Request method<;/li>
`header`: Request header;
`app_proto`: Application layer protocol;
`sip_proto`: Network layer protocol;
`uabot`: UA rules (only available in custom bot rules);
`idcid`: IDC rules (only available in custom bot rules);
`sipbot`: Search engine rules (only available in custom bot rules);
`portrait`: Client reputation (only available in custom bot rules);
`header_seq`: Header sequence (only available in custom bot rules);
`hdr`: Request body (only available in custom Web protection rules).
|
void |
setMatchParam(String MatchParam)
Set The parameter of the field.
|
void |
setOperator(String Operator)
Set The logical operator.
|
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 AclCondition()
public AclCondition(AclCondition source)
public String getMatchFrom()
public void setMatchFrom(String MatchFrom)
MatchFrom - Filters:
public String getMatchParam()
public void setMatchParam(String MatchParam)
MatchParam - The parameter of the field. When `MatchFrom = header`, the key contained in the header can be passed.public String getOperator()
public void setOperator(String Operator)
Operator - The logical operator. Values:
public String getMatchContent()
public void setMatchContent(String MatchContent)
MatchContent - The content to match.Copyright © 2025. All rights reserved.