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() |
getConfiggetConfigClass, newConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAllowedgetConfiggetConfigClass, newConfigprotected 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 © 2019 Pivotal Software, Inc.. All rights reserved.