Req
- Type of request.Resp
- Type of response.public static interface GrpcClientCallFactory.BlockingClientCall<Req,Resp>
Modifier and Type | Method and Description |
---|---|
Resp |
request(GrpcClientMetadata metadata,
Req request)
Sends the passed
Req . |
Resp request(GrpcClientMetadata metadata, Req request) throws java.lang.Exception
Req
.metadata
- GrpcClientMetadata
for the request.request
- Req
to send.Resp
received.java.lang.Exception
- if an exception occurs during the request processing.