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), specifically focusing on handling metadata returned from Remote Procedure Calls (RPCs)."],["The latest version of the `ResponseMetadataHandler` documentation is for version 2.63.1, and this page lists documentation for numerous previous versions, ranging back to 2.7.1."],["The `ResponseMetadataHandler` interface is designed to allow custom handling of headers and trailers returned by RPCs, as it is used by the `GrpcMetadataHandlerInterceptor` class."],["The `ResponseMetadataHandler` interface includes two primary methods: `onHeaders(Metadata metadata)` for managing headers and `onTrailers(Metadata metadata)` for managing trailers, both accepting `io.grpc.Metadata` as a parameter."]]],[]]