Uses of Class
io.grpc.Context.Key
Packages that use Context.Key
Package
Description
The gRPC core public API.
Service definitions and utilities for the pre-defined gRPC services.
-
Uses of Context.Key in io.grpc
Fields in io.grpc declared as Context.KeyModifier and TypeFieldDescriptionstatic final Context.Key<Server> InternalServer.SERVER_CONTEXT_KEYMethods in io.grpc that return Context.KeyModifier and TypeMethodDescriptionstatic <T> Context.Key<T> Create aContext.Keywith the given debug name.static <T> Context.Key<T> Context.keyWithDefault(String debugString, T defaultValue) Create aContext.Keywith the given debug name and default value.Methods in io.grpc with parameters of type Context.KeyModifier and TypeMethodDescription<V> ContextContext.withValue(Context.Key<V> k1, V v1) Create a new context with the given key value set.<V1,V2> Context Context.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2) Create a new context with the given key value set.<V1,V2, V3> Context Context.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2, Context.Key<V3> k3, V3 v3) Create a new context with the given key value set.<V1,V2, V3, V4>
ContextContext.withValues(Context.Key<V1> k1, V1 v1, Context.Key<V2> k2, V2 v2, Context.Key<V3> k3, V3 v3, Context.Key<V4> k4, V4 v4) Create a new context with the given key value set. -
Uses of Context.Key in io.grpc.services
Fields in io.grpc.services declared as Context.KeyModifier and TypeFieldDescriptionstatic final Context.Key<CallMetricRecorder> InternalCallMetricRecorder.CONTEXT_KEY