public static interface GrpcLifecycleObserver.GrpcRequestObserver
extends HttpLifecycleObserver.HttpRequestObserver
The request is considered complete when one of the terminal events is invoked. It's guaranteed only one terminal event will be invoked per request.
| Modifier and Type | Method and Description |
|---|---|
void |
onRequestTrailers(HttpHeaders trailers) |
void onRequestTrailers(HttpHeaders trailers)
gRPC over HTTP2 protocol does not define trailers in the request. This method is not expected to be invoked. However, it might be useful if the server listens both gRPC and HTTP traffic or receives non-gRPC requests from untrusted peers.
onRequestTrailers in interface HttpLifecycleObserver.HttpRequestObserver