Interface MethodHandler.UnaryClient

Enclosing interface:
MethodHandler<ReqT,RespT>

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

    Modifier and Type
    Method
    Description
    <ReqT, RespT>
    CompletionStage<RespT>
    unary(String methodName, ReqT request)
    Perform a unary client call.
  • Method Details

    • 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