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)
| 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. |
no outgoing calls