@FunctionalInterface
public interface FeignDecorator
FeignDecorators.| Modifier and Type | Method and Description |
|---|---|
io.vavr.CheckedFunction1<java.lang.Object[],java.lang.Object> |
decorate(io.vavr.CheckedFunction1<java.lang.Object[],java.lang.Object> invocationCall,
java.lang.reflect.Method method,
feign.InvocationHandlerFactory.MethodHandler methodHandler,
feign.Target<?> target)
Decorates the invocation of a method defined by a feign interface.
|
io.vavr.CheckedFunction1<java.lang.Object[],java.lang.Object> decorate(io.vavr.CheckedFunction1<java.lang.Object[],java.lang.Object> invocationCall,
java.lang.reflect.Method method,
feign.InvocationHandlerFactory.MethodHandler methodHandler,
feign.Target<?> target)
invocationCall - represents the call to the method. This should be decorated by the
implementing class.method - the method of the feign interface that is invoked.methodHandler - the feign methodHandler that executes the http request.