public class RetryGatewayFilterFactory extends AbstractGatewayFilterFactory<RetryGatewayFilterFactory.RetryConfig>
Modifier and Type | Class and Description |
---|---|
static class |
RetryGatewayFilterFactory.BackoffConfig |
static class |
RetryGatewayFilterFactory.RetryConfig |
AbstractGatewayFilterFactory.NameConfig
ShortcutConfigurable.ShortcutType
Modifier and Type | Field and Description |
---|---|
static String |
RETRY_ITERATION_KEY
Retry iteration key.
|
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
RetryGatewayFilterFactory() |
Modifier and Type | Method and Description |
---|---|
GatewayFilter |
apply(reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat,
reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
Deprecated.
|
GatewayFilter |
apply(RetryGatewayFilterFactory.RetryConfig retryConfig) |
GatewayFilter |
apply(String routeId,
reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat,
reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry) |
boolean |
exceedsMaxIterations(org.springframework.web.server.ServerWebExchange exchange,
RetryGatewayFilterFactory.RetryConfig retryConfig) |
void |
reset(org.springframework.web.server.ServerWebExchange exchange) |
getPublisher, setApplicationEventPublisher
getConfigClass, newConfig, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
apply, apply, apply, getConfigClass, mutate, name, newConfig
getValue, normalizeKey, shortcutFieldOrder, shortcutFieldPrefix, shortcutType
public static final String RETRY_ITERATION_KEY
public GatewayFilter apply(RetryGatewayFilterFactory.RetryConfig retryConfig)
public boolean exceedsMaxIterations(org.springframework.web.server.ServerWebExchange exchange, RetryGatewayFilterFactory.RetryConfig retryConfig)
public void reset(org.springframework.web.server.ServerWebExchange exchange)
@Deprecated public GatewayFilter apply(reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
public GatewayFilter apply(String routeId, reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.