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 theBufferEncoder
to use to compress the request associated with this object.Deprecated.strategy()
GrpcExecutionStrategy
to 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
GrpcExecutionStrategy
to use for the associated gRPC method.- Returns:
GrpcExecutionStrategy
to use for the associated gRPC method.
-
requestEncoding
Deprecated.UserequestCompressor()
.ContentCodec
to use for the associated gRPC method.- Returns:
ContentCodec
to use for the associated gRPC method.
-
requestCompressor
Get theBufferEncoder
to use to compress the request associated with this object.- Returns:
- the
BufferEncoder
to use to compress the request associated with this object.
-
timeout
Returns timeout duration after which the response is no longer wanted.- Returns:
Duration
of associated timeout or null for no timeout- See Also:
-
requestCompressor()
.