Package io.github.resilience4j.feign
Class Resilience4jFeign
- java.lang.Object
-
- io.github.resilience4j.feign.Resilience4jFeign
-
public final class Resilience4jFeign extends java.lang.ObjectMain class for combining feign with Resilience4j.MyService myService = Resilience4jFeign.builder(decorators).target(MyService.class, "http://localhost:8080/");Resilience4jFeignworks in the same way as the standardFeign.Builder. OnlyFeign.Builder.invocationHandlerFactory(InvocationHandlerFactory)may not be called as this is howResilience4jFeigndecorates the feign interface.
SeeFeignDecoratorson how to build decorators and enhance your feign interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResilience4jFeign.Builder
-
Constructor Summary
Constructors Constructor Description Resilience4jFeign()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resilience4jFeign.Builderbuilder(FeignDecorator invocationDecorator)
-
-
-
Method Detail
-
builder
public static Resilience4jFeign.Builder builder(FeignDecorator invocationDecorator)
-
-