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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 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."]]],[]]