public interface GrpcMetadata
| Modifier and Type | Method and Description |
|---|---|
String |
path()
Deprecated.
|
default ContextMap |
requestContext()
A request context associated with this
GrpcMetadata that translates into
HttpMetaData.context(). |
default ContextMap |
responseContext()
A response context associated with this
GrpcMetadata that translates into
HttpMetaData.context(). |
@Deprecated String path()
MethodDescriptor.httpPath().default ContextMap requestContext()
GrpcMetadata that translates into
HttpMetaData.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.
GrpcMetadata that translates into
HttpMetaData.context().default ContextMap responseContext()
GrpcMetadata that translates into
HttpMetaData.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.
GrpcMetadata that translates into
HttpMetaData.context().