Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.BlockingResponseStreamingClientCall<Req,Resp>
-
- Type Parameters:
Req
- Type of request.Resp
- Type of response.
- Enclosing interface:
- GrpcClientCallFactory
public static interface GrpcClientCallFactory.BlockingResponseStreamingClientCall<Req,Resp>
An abstraction to make blocking client calls where response is streaming.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockingIterable<Resp>
request(GrpcClientMetadata metadata, Req request)
Sends the passedGrpcClientCallFactory.BlockingResponseStreamingClientCall
.
-
-
-
Method Detail
-
request
BlockingIterable<Resp> request(GrpcClientMetadata metadata, Req request) throws java.lang.Exception
Sends the passedGrpcClientCallFactory.BlockingResponseStreamingClientCall
.- Parameters:
metadata
-GrpcClientMetadata
for the request.request
-GrpcClientCallFactory.BlockingResponseStreamingClientCall
to send.- Returns:
BlockingIterable
containing the streaming response.- Throws:
java.lang.Exception
- if an exception occurs during the request processing.
-
-