public class RequestRateLimiterGatewayFilterFactory extends Object implements GatewayFilterFactory
Modifier and Type | Field and Description |
---|---|
static String |
KEY_RESOLVER_KEY |
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
RequestRateLimiterGatewayFilterFactory(RateLimiter rateLimiter,
KeyResolver defaultKeyResolver) |
Modifier and Type | Method and Description |
---|---|
GatewayFilter |
apply(KeyResolver keyResolver,
org.springframework.tuple.Tuple args) |
GatewayFilter |
apply(org.springframework.tuple.Tuple args) |
KeyResolver |
getDefaultKeyResolver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mutate, name
argNames, validate, validateArgs, validateMin
public static final String KEY_RESOLVER_KEY
public RequestRateLimiterGatewayFilterFactory(RateLimiter rateLimiter, KeyResolver defaultKeyResolver)
public KeyResolver getDefaultKeyResolver()
public GatewayFilter apply(org.springframework.tuple.Tuple args)
apply
in interface GatewayFilterFactory
public GatewayFilter apply(KeyResolver keyResolver, org.springframework.tuple.Tuple args)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.