public interface GrpcClientMetadata extends GrpcMetadata
| Modifier and Type | Method and Description |
|---|---|
BufferEncoder |
requestCompressor()
Get the
BufferEncoder to use to compress the request associated with this object. |
ContentCodec |
requestEncoding()
Deprecated.
Use
requestCompressor(). |
GrpcExecutionStrategy |
strategy()
GrpcExecutionStrategy to use for the associated
gRPC method. |
Duration |
timeout()
Returns timeout duration after which the response is no longer wanted.
|
path, requestContext, responseContext@Nullable GrpcExecutionStrategy strategy()
GrpcExecutionStrategy to use for the associated
gRPC method.GrpcExecutionStrategy to use for the associated
gRPC method.@Deprecated ContentCodec requestEncoding()
requestCompressor().ContentCodec to use for the associated gRPC method.ContentCodec to use for the associated gRPC method.@Nullable BufferEncoder requestCompressor()
BufferEncoder to use to compress the request associated with this object.BufferEncoder to use to compress the request associated with this object.@Nullable Duration timeout()
Duration of associated timeout or null for no timeout