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.
@FunctionalInterface 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 Resprequest(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-GrpcClientMetadatafor the request.request-GrpcClientCallFactory.BlockingClientCallto send.- Returns:
GrpcClientCallFactory.BlockingClientCallreceived.- Throws:
java.lang.Exception- if an exception occurs during the request processing.
-
-