- java.lang.Object
-
- io.helidon.grpc.core.ContextKeys
-
public final class ContextKeys extends Object
A collection of common gRPCContext.Key
andMetadata.Key
instances.
-
-
Field Summary
Fields Modifier and Type Field Description static io.grpc.Metadata.Key<String>
AUTHORIZATION
TheMetadata.Key
to use to obtain the authorization data.static io.grpc.Context.Key<Context>
HELIDON_CONTEXT
The gRPC context key to use to obtain the HelidonContext
from the gRPCContext
.static io.grpc.Context.Key<Method>
SERVICE_METHOD
TheContext.Key
to use to obtain the actual underlying rpcMethod
.
-
-
-
Field Detail
-
AUTHORIZATION
public static final io.grpc.Metadata.Key<String> AUTHORIZATION
TheMetadata.Key
to use to obtain the authorization data.
-
HELIDON_CONTEXT
public static final io.grpc.Context.Key<Context> HELIDON_CONTEXT
The gRPC context key to use to obtain the HelidonContext
from the gRPCContext
.
-
-