An interface to handle metadata returned from an RPC. A ResponseMetadataHandler is used by the
GrpcMetadataHandlerInterceptor class to provide custom handling of the returned headers and
trailers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `ResponseMetadataHandler` interface within the Google API Client Libraries for Java (gax) library."],["The `ResponseMetadataHandler` interface is designed to manage metadata from Remote Procedure Calls (RPCs), specifically headers and trailers."],["The documentation lists various versions of the `gax` library, from version 2.63.1 (latest) down to 2.7.1, each linking to its specific documentation for `ResponseMetadataHandler`."],["The interface has two main methods: `onHeaders(Metadata metadata)` for handling RPC headers and `onTrailers(Metadata metadata)` for handling RPC trailers."],["Both `onHeaders` and `onTrailers` methods take a `io.grpc.Metadata` parameter, which is where the RPC metadata is provided."]]],[]]