Package io.servicetalk.grpc.api
Interface GrpcClientMetadata
- All Superinterfaces:
GrpcMetadata
- All Known Implementing Classes:
DefaultGrpcClientMetadata,Health.CheckMetadata,Health.WatchMetadata
Metadata for a gRPC client call.
-
Method Summary
Modifier and TypeMethodDescriptionGet theBufferEncoderto use to compress the request associated with this object.Deprecated.strategy()GrpcExecutionStrategyto use for the associated gRPC method.timeout()Returns timeout duration after which the response is no longer wanted.Methods inherited from interface io.servicetalk.grpc.api.GrpcMetadata
path, requestContext, responseContext
-
Method Details
-
strategy
GrpcExecutionStrategyto use for the associated gRPC method.- Returns:
GrpcExecutionStrategyto use for the associated gRPC method.
-
requestEncoding
Deprecated.UserequestCompressor().ContentCodecto use for the associated gRPC method.- Returns:
ContentCodecto use for the associated gRPC method.
-
requestCompressor
Get theBufferEncoderto use to compress the request associated with this object.- Returns:
- the
BufferEncoderto use to compress the request associated with this object.
-
timeout
Returns timeout duration after which the response is no longer wanted.- Returns:
Durationof associated timeout or null for no timeout- See Also:
-
requestCompressor().