Uses of Interface
io.helidon.common.context.Context
Packages that use Context
Package
Description
Support for context propagation across executor boundaries.
Helidon Database Client API.
Core classes used by both the gRPC server and gRPC client.
CDI extension for Helidon MP.
Configuration for traced components, spans and logs.
Helidon WebClient APIs shared by all types of clients.
Helidon WebServer module, combining common server API, HTTP API and HTTP/1.1 API to create a server.
Helidon WebServer HTTP specific APIs.
-
Uses of Context in io.helidon.common.context
Methods in io.helidon.common.context that return ContextModifier and TypeMethodDescriptionContext.Builder.build()
static Context
Context.create()
Creates a new empty instance.static Context
Creates a new empty instance backed by its parent read-throughContext
.static Context
Contexts.globalContext()
Global context is always present and statically shared in this JVM.Methods in io.helidon.common.context that return types with arguments of type ContextModifier and TypeMethodDescriptionContexts.context()
Get context registry associated with current thread.Methods in io.helidon.common.context with parameters of type ContextModifier and TypeMethodDescriptionstatic Context
Creates a new empty instance backed by its parent read-throughContext
.Parent of the new context.static void
Contexts.runInContext
(Context context, Runnable runnable) Run the runnable in the provided context.static <T> T
Contexts.runInContext
(Context context, Callable<T> callable) Run the callable in the provided context.static <T> T
Contexts.runInContextWithThrow
(Context context, Callable<T> callable) Run the callable in the provided context throwing any exception from its execution. -
Uses of Context in io.helidon.dbclient
Methods in io.helidon.dbclient that return ContextModifier and TypeMethodDescriptionDbClientServiceContext.context()
Context with parameters passed from the caller, such asSpanContext
for tracing.DbClientServiceContextImpl.context()
Methods in io.helidon.dbclient with parameters of type ContextModifier and TypeMethodDescriptionSet a new context to be used by other interceptors and when executing the statement. -
Uses of Context in io.helidon.grpc.core
Fields in io.helidon.grpc.core with type parameters of type ContextModifier and TypeFieldDescriptionstatic final io.grpc.Context.Key
<Context> ContextKeys.HELIDON_CONTEXT
The gRPC context key to use to obtain the HelidonContext
from the gRPCContext
. -
Uses of Context in io.helidon.microprofile.cdi
Methods in io.helidon.microprofile.cdi that return Context -
Uses of Context in io.helidon.tracing.config
Methods in io.helidon.tracing.config with parameters of type ContextModifier and TypeMethodDescriptionstatic SpanTracingConfig
TracingConfigUtil.spanConfig
(String component, String spanName, Context context) Get the configuration of a single span from the providedContext
. -
Uses of Context in io.helidon.webclient.api
Methods in io.helidon.webclient.api that return Context -
Uses of Context in io.helidon.webserver
Methods in io.helidon.webserver that return ContextModifier and TypeMethodDescriptionListenerContext.context()
Server context configured as the top level parents of all request context.WebServer.context()
Context associated with theWebServer
, used as a parent for listener contexts.Methods in io.helidon.webserver that return types with arguments of type ContextModifier and TypeMethodDescriptionListenerConfig.BuilderBase.ListenerConfigImpl.listenerContext()
ListenerConfig.BuilderBase.listenerContext()
Listener scoped context to be used as a parent for webserver request contexts (if used).WebServerConfig.BuilderBase.serverContext()
Context for the WebServer, if none defined, a new one will be created with global context as the root.WebServerConfig.BuilderBase.WebServerConfigImpl.serverContext()
Methods in io.helidon.webserver with parameters of type ContextModifier and TypeMethodDescriptionListenerConfig.BuilderBase.listenerContext
(Context listenerContext) Listener scoped context to be used as a parent for webserver request contexts (if used).WebServerConfig.BuilderBase.serverContext
(Context serverContext) Context for the WebServer, if none defined, a new one will be created with global context as the root. -
Uses of Context in io.helidon.webserver.http
Methods in io.helidon.webserver.http that return Context