- Enclosing interface:
MethodHandler<ReqT,
RespT>
public static interface MethodHandler.UnaryClient
A unary client call handler.
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
CompletionStage<RespT> Perform a unary client call.
-
Method Details
-
unary
Perform a unary client call.- Type Parameters:
ReqT
- the request typeRespT
- the response type- Parameters:
methodName
- the name of the gRPC methodrequest
- the request message- Returns:
- a
CompletableFuture
that completes when the call completes
-