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-04-09 UTC."],[[["This webpage provides documentation for the `ResponseMetadataHandler` interface within the Google API Client Libraries for Java (GAX), specifically for handling metadata from Remote Procedure Calls (RPCs)."],["The latest version of `ResponseMetadataHandler` available is 2.63.1, and it shows a wide range of previous versions dating back to 2.7.1 for the `com.google.api.gax.grpc.ResponseMetadataHandler`."],["`ResponseMetadataHandler` has two primary methods: `onHeaders(Metadata metadata)` for processing headers and `onTrailers(Metadata metadata)` for processing trailers returned by an RPC."],["The interface is used by the `GrpcMetadataHandlerInterceptor` class to customize the handling of headers and trailers returned during RPC execution."],["The metadata parameters used in `onHeaders` and `onTrailers` are of the `io.grpc.Metadata` type, and contain the information being passed during the RPC."]]],[]]