Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.BlockingStreamingClientCall<Req,Resp>
-
- Type Parameters:
Req- Type of request.Resp- Type of response.
- Enclosing interface:
- GrpcClientCallFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface GrpcClientCallFactory.BlockingStreamingClientCall<Req,Resp>An abstraction to make blocking bi-directional streaming client calls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockingIterable<Resp>request(GrpcClientMetadata metadata, java.lang.Iterable<Req> request)Sends the passedBlockingIterableofGrpcClientCallFactory.BlockingStreamingClientCall.
-
-
-
Method Detail
-
request
BlockingIterable<Resp> request(GrpcClientMetadata metadata, java.lang.Iterable<Req> request) throws java.lang.Exception
Sends the passedBlockingIterableofGrpcClientCallFactory.BlockingStreamingClientCall.- Parameters:
metadata-GrpcClientMetadatafor the request.request-BlockingIterableofGrpcClientCallFactory.BlockingStreamingClientCallto send.- Returns:
BlockingIterablecontaining the streaming response.- Throws:
java.lang.Exception- if an exception occurs during the request processing.
-
-