Package com.linecorp.armeria.client
Interface DecoratingClientFunction<I extends Request,O extends Response>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DecoratingClientFunction<I extends Request,O extends Response>
A functional interface that enables building aSimpleDecoratingClient
withAbstractClientOptionsBuilder.decorator(DecoratingClientFunction)
andAbstractClientOptionsBuilder.rpcDecorator(DecoratingClientFunction)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description O
execute(Client<I,O> delegate, ClientRequestContext ctx, I req)
-