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>

public interface GrpcResponse<A extends com.google.protobuf.Message> extends GrpcBaseResponse

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static 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