Package io.github.resilience4j.feign
Class Resilience4jFeign
java.lang.Object
io.github.resilience4j.feign.Resilience4jFeign
Main class for combining feign with Resilience4j.
MyService myService = Resilience4jFeign.builder(decorators).target(MyService.class, "http://localhost:8080/");
Resilience4jFeign works in the same way as the standard Feign.Builder. Only
Feign.Builder.invocationHandlerFactory(InvocationHandlerFactory) may not be called as
this is how Resilience4jFeign decorates the feign interface.
See FeignDecorators on how to build decorators and enhance your feign interfaces.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Resilience4jFeign.Builderbuilder(FeignDecorator invocationDecorator)
-
Constructor Details
-
Resilience4jFeign
public Resilience4jFeign()
-
-
Method Details
-
builder
-