MCPcopy Create free account
hub / github.com/grpc/grpc-java / asyncUnaryCall

Method asyncUnaryCall

stub/src/main/java/io/grpc/stub/ServerCalls.java:49–52  ·  view source on GitHub ↗

Creates a ServerCallHandler for a unary call method of the service. @param method an adaptor to the actual method on the service implementation.

(
      UnaryMethod<ReqT, RespT> method)

Source from the content-addressed store, hash-verified

47 * @param method an adaptor to the actual method on the service implementation.
48 */
49 public static <ReqT, RespT> ServerCallHandler<ReqT, RespT> asyncUnaryCall(
50 UnaryMethod<ReqT, RespT> method) {
51 return new UnaryServerCallHandler<>(method, false);
52 }
53
54 /**
55 * Creates a {@link ServerCallHandler} for a server streaming method of the service.

Callers 15

bindServiceMethod · 0.95
makeServiceCallMethod · 0.95
setUpMethod · 0.95
makeServiceCallMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
MetadataUtilsTestClass · 0.95

Calls

no outgoing calls