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