Uses of Class
io.grpc.Context.Key
Packages that use Context.Key
-
Uses of Context.Key in io.grpc
Fields in io.grpc declared as Context.KeyModifier and TypeFieldDescriptionstatic final Context.Key
<Server> InternalServer.SERVER_CONTEXT_KEY
Methods in io.grpc that return Context.KeyModifier and TypeMethodDescriptionstatic <T> Context.Key
<T> Create aContext.Key
with the given debug name.static <T> Context.Key
<T> Context.keyWithDefault
(String debugString, T defaultValue) Create aContext.Key
with the given debug name and default value.Methods in io.grpc with parameters of type Context.KeyModifier and TypeMethodDescription<V> Context
Context.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>
ContextContext.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.