Interface GrpcLifecycleObserver.GrpcExchangeObserver

All Superinterfaces:
HttpLifecycleObserver.HttpExchangeObserver
Enclosing interface:
GrpcLifecycleObserver

public static interface GrpcLifecycleObserver.GrpcExchangeObserver extends HttpLifecycleObserver.HttpExchangeObserver
An observer interface that provides visibility into events associated with a single gRPC exchange.

An exchange is represented by a request and a response. Both can be observed independently and may publish their events concurrently because connections are full-duplex. The terminal event for the exchange is signaled only when nested observers signal terminal events. Cancellation is the best effort, more events may be signaled after cancel.