Interface MethodHandler.UnaryClient

  • Enclosing interface:
    MethodHandler<ReqT,​RespT>

    public static interface MethodHandler.UnaryClient
    A unary client call handler.
    • Method Detail

      • unary

        <ReqT,​RespT> CompletionStage<RespT> unary​(String methodName,
                                                        ReqT request)
        Perform a unary client call.
        Type Parameters:
        ReqT - the request type
        RespT - the response type
        Parameters:
        methodName - the name of the gRPC method
        request - the request message
        Returns:
        a CompletableFuture that completes when the call completes