Class RetryGatewayFilterFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<RetryGatewayFilterFactory.RetryConfig>
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<RetryGatewayFilterFactory.RetryConfig>
org.springframework.cloud.gateway.filter.factory.RetryGatewayFilterFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, GatewayFilterFactory<RetryGatewayFilterFactory.RetryConfig>, Configurable<RetryGatewayFilterFactory.RetryConfig>, ShortcutConfigurable, org.springframework.context.ApplicationEventPublisherAware
public class RetryGatewayFilterFactory
extends AbstractGatewayFilterFactory<RetryGatewayFilterFactory.RetryConfig>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class AbstractGatewayFilterFactory
AbstractGatewayFilterFactory.NameConfigNested classes/interfaces inherited from interface ShortcutConfigurable
ShortcutConfigurable.GatewayBeanFactoryResolver, ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
FieldsFields inherited from interface GatewayFilterFactory
NAME_KEY, VALUE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(@Nullable String routeId, @Nullable reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, @Nullable reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry) apply(RetryGatewayFilterFactory.RetryConfig retryConfig) booleanexceedsMaxIterations(org.springframework.web.server.ServerWebExchange exchange, RetryGatewayFilterFactory.RetryConfig retryConfig) voidreset(org.springframework.web.server.ServerWebExchange exchange) Deprecated.Returns hints about the number of args and the order for shortcut parsing.Methods inherited from class AbstractGatewayFilterFactory
enableBodyCaching, getPublisher, setApplicationEventPublisherMethods inherited from class AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GatewayFilterFactory
apply, apply, apply, getConfigClass, name, newConfigMethods inherited from interface ShortcutConfigurable
shortcutFieldPrefix, shortcutType
-
Field Details
-
RETRY_ITERATION_KEY
-
-
Constructor Details
-
RetryGatewayFilterFactory
public RetryGatewayFilterFactory()
-
-
Method Details
-
shortcutFieldOrder
Description copied from interface:ShortcutConfigurableReturns hints about the number of args and the order for shortcut parsing.- Returns:
- the list of hints
-
apply
-
exceedsMaxIterations
public boolean exceedsMaxIterations(org.springframework.web.server.ServerWebExchange exchange, RetryGatewayFilterFactory.RetryConfig retryConfig) -
reset
Deprecated. -
apply
public GatewayFilter apply(@Nullable String routeId, @Nullable reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, @Nullable reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
-