Class SpringCloudCircuitBreakerFilterFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<C>
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<SpringCloudCircuitBreakerFilterFactory.Config>
org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,GatewayFilterFactory<SpringCloudCircuitBreakerFilterFactory.Config>,Configurable<SpringCloudCircuitBreakerFilterFactory.Config>,ShortcutConfigurable,org.springframework.context.ApplicationEventPublisherAware
- Direct Known Subclasses:
SpringCloudCircuitBreakerResilience4JFilterFactory
public abstract class SpringCloudCircuitBreakerFilterFactory
extends AbstractGatewayFilterFactory<SpringCloudCircuitBreakerFilterFactory.Config>
- Author:
- Ryan Baxter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic 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
ConstructorsConstructorDescriptionSpringCloudCircuitBreakerFilterFactory(org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFactory reactiveCircuitBreakerFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.DispatcherHandler> dispatcherHandlerProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract reactor.core.publisher.Mono<Void>handleErrorWithoutFallback(Throwable t, boolean resumeWithoutError) name()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, newConfigMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldPrefix, shortcutType
-
Field Details
-
NAME
CircuitBreaker component name.- See Also:
-
-
Constructor Details
-
SpringCloudCircuitBreakerFilterFactory
public SpringCloudCircuitBreakerFilterFactory(org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFactory reactiveCircuitBreakerFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.DispatcherHandler> dispatcherHandlerProvider)
-
-
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
-
handleErrorWithoutFallback
-
name
-