Class RetryGatewayFilterFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<C>
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 classNested classes/interfaces inherited from class org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
AbstractGatewayFilterFactory.NameConfigNested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
FieldsFields inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
NAME_KEY, VALUE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(String routeId, reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, 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 org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
getPublisher, setApplicationEventPublisherMethods inherited from class org.springframework.cloud.gateway.support.AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
apply, apply, apply, getConfigClass, name, newConfigMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldPrefix, shortcutType
-
Field Details
-
RETRY_ITERATION_KEY
Retry iteration key.- See Also:
-
-
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(String routeId, reactor.retry.Repeat<org.springframework.web.server.ServerWebExchange> repeat, reactor.retry.Retry<org.springframework.web.server.ServerWebExchange> retry)
-