public class DetectLengthLimitRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DetectLengthLimitRule() | 
| DetectLengthLimitRule(DetectLengthLimitRule 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 处置方式,取值有:
skip:当请求正文数据超过 Conditions 出参中 body_depth 设置的检测深度时,跳过所有请求正文内容的检测;
scan:仅检测 Conditions 出参中 body_depth 设置的检测深度,对超出部分的请求正文内容直接截断处理,超出部分的请求正文不会经过安全检测。仅出参使用。 | 
| DetectLengthLimitCondition[] | getConditions()Get 规则配置条件。仅出参使用。 | 
| String | getDescription()Get 规则描述,仅出参使用。 | 
| Long | getRuleId()Get 规则Id。仅出参使用。 | 
| String | getRuleName()Get 规则名称。仅出参使用。 | 
| void | setAction(String Action)Set 处置方式,取值有:
skip:当请求正文数据超过 Conditions 出参中 body_depth 设置的检测深度时,跳过所有请求正文内容的检测;
scan:仅检测 Conditions 出参中 body_depth 设置的检测深度,对超出部分的请求正文内容直接截断处理,超出部分的请求正文不会经过安全检测。仅出参使用。 | 
| void | setConditions(DetectLengthLimitCondition[] Conditions)Set 规则配置条件。仅出参使用。 | 
| void | setDescription(String Description)Set 规则描述,仅出参使用。 | 
| void | setRuleId(Long RuleId)Set 规则Id。仅出参使用。 | 
| void | setRuleName(String RuleName)Set 规则名称。仅出参使用。 | 
| 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 DetectLengthLimitRule()
public DetectLengthLimitRule(DetectLengthLimitRule source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - 规则Id。仅出参使用。public String getRuleName()
public void setRuleName(String RuleName)
RuleName - 规则名称。仅出参使用。public String getDescription()
public void setDescription(String Description)
Description - 规则描述,仅出参使用。public DetectLengthLimitCondition[] getConditions()
public void setConditions(DetectLengthLimitCondition[] Conditions)
Conditions - 规则配置条件。仅出参使用。public String getAction()
public void setAction(String Action)
Action - 处置方式,取值有:
Copyright © 2025. All rights reserved.