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