Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.BlockingRequestStreamingClientCall<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.BlockingRequestStreamingClientCall<Req,Resp>
An abstraction to make blocking client calls where request is streaming.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resp
request(GrpcClientMetadata metadata, java.lang.Iterable<Req> request)
Sends the passedBlockingIterable
ofGrpcClientCallFactory.BlockingRequestStreamingClientCall
.
-
-
-
Method Detail
-
request
Resp request(GrpcClientMetadata metadata, java.lang.Iterable<Req> request) throws java.lang.Exception
Sends the passedBlockingIterable
ofGrpcClientCallFactory.BlockingRequestStreamingClientCall
.- Parameters:
metadata
-GrpcClientMetadata
for the request.request
-BlockingIterable
ofGrpcClientCallFactory.BlockingRequestStreamingClientCall
to send.- Returns:
GrpcClientCallFactory.BlockingRequestStreamingClientCall
received.- Throws:
java.lang.Exception
- if an exception occurs during the request processing.
-
-