Package io.servicetalk.health.v1
Class Health.CheckMetadata
java.lang.Object
io.servicetalk.grpc.api.DefaultGrpcClientMetadata
io.servicetalk.health.v1.Health.CheckMetadata
- All Implemented Interfaces:
GrpcClientMetadata
,GrpcMetadata
- Enclosing class:
- Health
Deprecated.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCheckMetadata
(ContentCodec requestEncoding) Deprecated.CheckMetadata
(GrpcExecutionStrategy strategy) Deprecated.CheckMetadata
(GrpcExecutionStrategy strategy, ContentCodec requestEncoding) Deprecated.CheckMetadata
(GrpcExecutionStrategy strategy, ContentCodec requestEncoding, Duration timeout) Deprecated.CheckMetadata
(Duration timeout) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionpath()
Deprecated.A request context associated with thisGrpcMetadata
that translates intoHttpMetaData.context()
.A response context associated with thisGrpcMetadata
that translates intoHttpMetaData.context()
.Methods inherited from class io.servicetalk.grpc.api.DefaultGrpcClientMetadata
requestCompressor, requestEncoding, strategy, timeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.servicetalk.grpc.api.GrpcMetadata
path, requestContext, responseContext
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
CheckMetadata
Deprecated. -
CheckMetadata
Deprecated. -
CheckMetadata
Deprecated. -
CheckMetadata
Deprecated. -
CheckMetadata
public CheckMetadata(GrpcExecutionStrategy strategy, ContentCodec requestEncoding, Duration timeout) Deprecated.
-
-
Method Details
-
path
Deprecated.Description copied from interface:GrpcMetadata
Returns the path for the associated gRPC method.- Specified by:
path
in interfaceGrpcMetadata
- Returns:
- The path for the associated gRPC method.
-
requestContext
Description copied from interface:GrpcMetadata
A request context associated with thisGrpcMetadata
that translates intoHttpMetaData.context()
.Context can be used to associate a state with a request without serializing its state on the wire or transmit a state between HTTP and gRPC layers.
- Specified by:
requestContext
in interfaceGrpcMetadata
- Returns:
- a request context associated with this
GrpcMetadata
that translates intoHttpMetaData.context()
.
-
responseContext
Description copied from interface:GrpcMetadata
A response context associated with thisGrpcMetadata
that translates intoHttpMetaData.context()
.Context can be used to associate a state with a response without serializing its state on the wire or transmit a state between HTTP and gRPC layers.
- Specified by:
responseContext
in interfaceGrpcMetadata
- Returns:
- a response context associated with this
GrpcMetadata
that translates intoHttpMetaData.context()
.
-
GrpcClientMetadata
. Deprecation ofGrpcMetadata.path()
renders this type unnecessary.