public class SlowPostConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SlowPostConfig() | 
| SlowPostConfig(SlowPostConfig 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 慢速攻击的处置动作,取值有:
monitor:观察;
drop:拦截。 | 
| FirstPartConfig | getFirstPartConfig()Get 首包配置。 | 
| Long | getRuleId()Get 本规则的Id。 | 
| SlowRateConfig | getSlowRateConfig()Get 基础配置。 | 
| String | getSwitch()Get 开关,取值有:
on:开启;
off:关闭。 | 
| void | setAction(String Action)Set 慢速攻击的处置动作,取值有:
monitor:观察;
drop:拦截。 | 
| void | setFirstPartConfig(FirstPartConfig FirstPartConfig)Set 首包配置。 | 
| void | setRuleId(Long RuleId)Set 本规则的Id。 | 
| void | setSlowRateConfig(SlowRateConfig SlowRateConfig)Set 基础配置。 | 
| void | setSwitch(String Switch)Set 开关,取值有:
on:开启;
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, toJsonStringpublic SlowPostConfig()
public SlowPostConfig(SlowPostConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 开关,取值有:
public FirstPartConfig getFirstPartConfig()
public void setFirstPartConfig(FirstPartConfig FirstPartConfig)
FirstPartConfig - 首包配置。public SlowRateConfig getSlowRateConfig()
public void setSlowRateConfig(SlowRateConfig SlowRateConfig)
SlowRateConfig - 基础配置。public String getAction()
public void setAction(String Action)
Action - 慢速攻击的处置动作,取值有:
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - 本规则的Id。Copyright © 2025. All rights reserved.