Package io.servicetalk.grpc.api
Interface GrpcClientCallFactory.BlockingClientCall<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.
An abstraction to make blocking client calls.
-
Method Summary
Modifier and TypeMethodDescriptionrequest
(GrpcClientMetadata metadata, Req request) Sends the passedGrpcClientCallFactory.BlockingClientCall
.
-
Method Details
-
request
Sends the passedGrpcClientCallFactory.BlockingClientCall
.- Parameters:
metadata
-GrpcClientMetadata
for the request.request
-GrpcClientCallFactory.BlockingClientCall
to send.- Returns:
GrpcClientCallFactory.BlockingClientCall
received.- Throws:
Exception
- if an exception occurs during the request processing.
-