@ConditionalOnMissingBean(value=RateLimiter.class) @ConditionalOnProperty(prefix="zuul.ratelimit", name="repository", havingValue="IN_MEMORY", matchIfMissing=true) public static class RateLimitAutoConfiguration.InMemoryConfiguration extends Object
| Constructor and Description |
|---|
InMemoryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RateLimiter |
inMemoryRateLimiter(RateLimiterErrorHandler rateLimiterErrorHandler) |
@Bean public RateLimiter inMemoryRateLimiter(RateLimiterErrorHandler rateLimiterErrorHandler)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.