public abstract class AbstractRateLimiter<C> extends AbstractStatefulConfigurable<C> implements RateLimiter<C>, org.springframework.context.ApplicationListener<FilterArgsEvent>
RateLimiter.Response
Modifier | Constructor and Description |
---|---|
protected |
AbstractRateLimiter(Class<C> configClass,
String configurationPropertyName,
org.springframework.validation.Validator validator) |
Modifier and Type | Method and Description |
---|---|
protected String |
getConfigurationPropertyName() |
protected org.springframework.validation.Validator |
getValidator() |
void |
onApplicationEvent(FilterArgsEvent event) |
void |
setValidator(org.springframework.validation.Validator validator) |
String |
toString() |
getConfig
getConfigClass, newConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isAllowed
getConfig
getConfigClass, newConfig
protected String getConfigurationPropertyName()
protected org.springframework.validation.Validator getValidator()
public void setValidator(org.springframework.validation.Validator validator)
public void onApplicationEvent(FilterArgsEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<FilterArgsEvent>
public String toString()
toString
in class AbstractStatefulConfigurable<C>
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.