Module io.inverno.mod.grpc.client
Package io.inverno.mod.grpc.client
Interface GrpcResponse<A extends com.google.protobuf.Message>
- Type Parameters:
A
- the response message type
- All Superinterfaces:
GrpcBaseResponse
- All Known Subinterfaces:
GrpcResponse.Streaming<A>
,GrpcResponse.Unary<A>
Represents a client gRPC response in a client exchange.
Depending on the kind of exchange considered a gRPC response can be GrpcResponse.Unary
when a single message is received from the endpoint or GrpcResponse.Streaming
when a stream of
messages is received from the endpoint.
- Since:
- 1.9
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
GrpcResponse.Streaming<A extends com.google.protobuf.Message>
Represents a streaming (stream of messages) response.static interface
GrpcResponse.Unary<A extends com.google.protobuf.Message>
Represents a unary (single message) response. -
Method Summary
Methods inherited from interface io.inverno.mod.grpc.base.GrpcBaseResponse
metadata, trailersMetadata