-
public final class VelocityFilterConfigRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVelocityFilterConfigRule.ActionAction Enum
public classVelocityFilterConfigRule.CascadingActionCascadingAction Enum
-
Field Summary
Fields Modifier and Type Field Description private final VelocityFilterConfigRule.Actionactionprivate final IntegerbanDurationprivate final VelocityFilterConfigRule.CascadingActioncascadingActionprivate final IntegercascadingThresholdprivate final BooleancheckMessageContextprivate final IntegerfastSpamThresholdprivate final IntegerfastSpamTtlprivate final BooleanipBanprivate final IntegerprobationPeriodprivate final BooleanshadowBanprivate final IntegerslowSpamThresholdprivate final IntegerslowSpamTtlprivate final BooleanurlOnlyprivate final IntegerslowSpamBanDuration
-
Constructor Summary
Constructors Constructor Description VelocityFilterConfigRule(VelocityFilterConfigRule.Action action, Integer banDuration, VelocityFilterConfigRule.CascadingAction cascadingAction, Integer cascadingThreshold, Boolean checkMessageContext, Integer fastSpamThreshold, Integer fastSpamTtl, Boolean ipBan, Integer probationPeriod, Boolean shadowBan, Integer slowSpamThreshold, Integer slowSpamTtl, Boolean urlOnly, Integer slowSpamBanDuration)
-
Method Summary
Modifier and Type Method Description final VelocityFilterConfigRule.ActiongetAction()final IntegergetBanDuration()final VelocityFilterConfigRule.CascadingActiongetCascadingAction()final IntegergetCascadingThreshold()final BooleangetCheckMessageContext()final IntegergetFastSpamThreshold()final IntegergetFastSpamTtl()final BooleangetIpBan()final IntegergetProbationPeriod()final BooleangetShadowBan()final IntegergetSlowSpamThreshold()final IntegergetSlowSpamTtl()final BooleangetUrlOnly()final IntegergetSlowSpamBanDuration()-
-
Constructor Detail
-
VelocityFilterConfigRule
VelocityFilterConfigRule(VelocityFilterConfigRule.Action action, Integer banDuration, VelocityFilterConfigRule.CascadingAction cascadingAction, Integer cascadingThreshold, Boolean checkMessageContext, Integer fastSpamThreshold, Integer fastSpamTtl, Boolean ipBan, Integer probationPeriod, Boolean shadowBan, Integer slowSpamThreshold, Integer slowSpamTtl, Boolean urlOnly, Integer slowSpamBanDuration)
-
-
Method Detail
-
getAction
final VelocityFilterConfigRule.Action getAction()
-
getBanDuration
final Integer getBanDuration()
-
getCascadingAction
final VelocityFilterConfigRule.CascadingAction getCascadingAction()
-
getCascadingThreshold
final Integer getCascadingThreshold()
-
getCheckMessageContext
final Boolean getCheckMessageContext()
-
getFastSpamThreshold
final Integer getFastSpamThreshold()
-
getFastSpamTtl
final Integer getFastSpamTtl()
-
getProbationPeriod
final Integer getProbationPeriod()
-
getShadowBan
final Boolean getShadowBan()
-
getSlowSpamThreshold
final Integer getSlowSpamThreshold()
-
getSlowSpamTtl
final Integer getSlowSpamTtl()
-
getUrlOnly
final Boolean getUrlOnly()
-
getSlowSpamBanDuration
final Integer getSlowSpamBanDuration()
-
-
-
-