Class SpringCloudCircuitBreakerResilience4JFilterFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<SpringCloudCircuitBreakerFilterFactory.Config>
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<SpringCloudCircuitBreakerFilterFactory.Config>
org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory
org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerResilience4JFilterFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, GatewayFilterFactory<SpringCloudCircuitBreakerFilterFactory.Config>, Configurable<SpringCloudCircuitBreakerFilterFactory.Config>, ShortcutConfigurable, org.springframework.context.ApplicationEventPublisherAware
public class SpringCloudCircuitBreakerResilience4JFilterFactory
extends SpringCloudCircuitBreakerFilterFactory
- Author:
- Ryan Baxter
-
Nested Class Summary
Nested classes/interfaces inherited from class SpringCloudCircuitBreakerFilterFactory
SpringCloudCircuitBreakerFilterFactory.CircuitBreakerStatusCodeException, SpringCloudCircuitBreakerFilterFactory.ConfigNested classes/interfaces inherited from class AbstractGatewayFilterFactory
AbstractGatewayFilterFactory.NameConfigNested classes/interfaces inherited from interface ShortcutConfigurable
ShortcutConfigurable.GatewayBeanFactoryResolver, ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
Fields inherited from class SpringCloudCircuitBreakerFilterFactory
NAMEFields inherited from interface GatewayFilterFactory
NAME_KEY, VALUE_KEY -
Constructor Summary
ConstructorsConstructorDescriptionSpringCloudCircuitBreakerResilience4JFilterFactory(org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFactory reactiveCircuitBreakerFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.DispatcherHandler> dispatcherHandlerProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void> handleErrorWithoutFallback(Throwable t, boolean resumeWithoutError) Methods inherited from class SpringCloudCircuitBreakerFilterFactory
apply, name, shortcutFieldOrderMethods 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, newConfigMethods inherited from interface ShortcutConfigurable
shortcutFieldPrefix, shortcutType
-
Constructor Details
-
SpringCloudCircuitBreakerResilience4JFilterFactory
public SpringCloudCircuitBreakerResilience4JFilterFactory(org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFactory reactiveCircuitBreakerFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.DispatcherHandler> dispatcherHandlerProvider)
-
-
Method Details
-
handleErrorWithoutFallback
protected reactor.core.publisher.Mono<Void> handleErrorWithoutFallback(Throwable t, boolean resumeWithoutError) - Specified by:
handleErrorWithoutFallbackin classSpringCloudCircuitBreakerFilterFactory
-