/** * Creates a {@code ServerCallHandler} for a client streaming method of the service. * * @param method an adaptor to the actual method on the service implementation. */ public static <ReqT, RespT> ServerCallHandler<ReqT, RespT> asyncClientStreamingCall( final ClientStreamingMethod<ReqT, RespT> method) { return asyncStreamingRequestCall(method); }
/** * Creates a {@code ServerCallHandler} for a bidi streaming method of the service. * * @param method an adaptor to the actual method on the service implementation. */ public static <ReqT, RespT> ServerCallHandler<ReqT, RespT> asyncBidiStreamingCall( final BidiStreamingMethod<ReqT, RespT> method) { return asyncStreamingRequestCall(method); }