Package com.google.api.gax.grpc
Interface ResponseMetadataHandler
-
- All Known Implementing Classes:
GrpcResponseMetadata
public interface ResponseMetadataHandlerAn 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonHeaders(io.grpc.Metadata metadata)Handle the headers returned by an RPC.voidonTrailers(io.grpc.Metadata metadata)Handle the trailers returned by an RPC.
-