@FunctionalInterface public interface DecoratingRpcClientFunction
SimpleDecoratingRpcClient with
ClientBuilder.rpcDecorator(DecoratingRpcClientFunction).| Modifier and Type | Method and Description |
|---|---|
RpcResponse |
execute(RpcClient delegate,
ClientRequestContext ctx,
RpcRequest req)
|
RpcResponse execute(RpcClient delegate, ClientRequestContext ctx, RpcRequest req) throws Exception
delegate - the RpcClient being decorated by this functionctx - the context of the RpcRequest being sentreq - the RpcRequest being sentRpcResponse to be receivedExceptionCopyright © 2020 LeanCloud. All rights reserved.