Class SpringCloudCircuitBreakerResilience4JFilterFactory
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
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 org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory
SpringCloudCircuitBreakerFilterFactory.CircuitBreakerStatusCodeException, SpringCloudCircuitBreakerFilterFactory.ConfigNested 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
Fields inherited from class org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory
NAMEFields inherited from interface org.springframework.cloud.gateway.filter.factory.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 org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory
apply, name, shortcutFieldOrderMethods 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
-
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
-