Class FallbackFactory.Default<T>
java.lang.Object
org.springframework.cloud.openfeign.FallbackFactory.Default<T>
- All Implemented Interfaces:
FallbackFactory<T>
- Enclosing interface:
- FallbackFactory<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.openfeign.FallbackFactory
FallbackFactory.Default<T> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Default
-
-
Method Details
-
create
Description copied from interface:FallbackFactoryReturns an instance of the fallback appropriate for the given cause.- Specified by:
createin interfaceFallbackFactory<T>- Parameters:
cause- cause of an exception.- Returns:
- fallback
-
toString
-