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(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)
Deprecated.
|
getPublisher, setApplicationEventPublisher
getConfigClass, newConfig, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
apply, apply, apply, getConfigClass, 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)
@Deprecated public void reset(org.springframework.web.server.ServerWebExchange exchange)
public GatewayFilter apply(String routeId, reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.