Module io.inverno.mod.grpc.client
Package io.inverno.mod.grpc.client
package io.inverno.mod.grpc.client
Inverno gRPC client API.
-
ClassDescriptionA gRPC client is used to transform client HTTP
Exchange
into unary, client streaming, server streaming or bidirectional streaming clientGrpcExchange
.A closeable gRPC client stub definition.A base gRPC client stub definition.The gRPC client module configuration.GrpcExchange<A extends ExchangeContext,B extends com.google.protobuf.Message, C extends com.google.protobuf.Message, D extends GrpcRequest<B>, E extends GrpcResponse<C>> Represents a gRPC client exchange between a client and a server.GrpcExchange.BidirectionalStreaming<A extends ExchangeContext,B extends com.google.protobuf.Message, C extends com.google.protobuf.Message> Represents a bidirectional streaming (stream/stream) client gRPC exchange.GrpcExchange.ClientStreaming<A extends ExchangeContext,B extends com.google.protobuf.Message, C extends com.google.protobuf.Message> Represents a client streaming (stream/response) client gRPC exchange.GrpcExchange.ServerStreaming<A extends ExchangeContext,B extends com.google.protobuf.Message, C extends com.google.protobuf.Message> Represents a server streaming (request/stream) client gRPC exchange.GrpcExchange.Unary<A extends ExchangeContext,B extends com.google.protobuf.Message, C extends com.google.protobuf.Message> Represents a unary (request/response) client gRPC exchange.GrpcRequest<A extends com.google.protobuf.Message>Represents a client gRPC request in a client exchange.GrpcRequest.Streaming<A extends com.google.protobuf.Message>Represents a streaming (stream of messages) request.GrpcRequest.Unary<A extends com.google.protobuf.Message>Represents a unary (single message) request.GrpcResponse<A extends com.google.protobuf.Message>Represents a client gRPC response in a client exchange.GrpcResponse.Streaming<A extends com.google.protobuf.Message>Represents a streaming (stream of messages) response.GrpcResponse.Unary<A extends com.google.protobuf.Message>Represents a unary (single message) response.