Uses of Interface
io.helidon.common.context.Context
Packages that use Context
Package
Description
Support for context propagation across executor boundaries.
Reactive Database API for Helidon.
Core classes used by both the reactive gRPC server API and gRPC client API.
Reactive gRPC server API.
CDI extension for Helidon MP.
Configuration for traced components, spans and logs.
A reactive client for rest calls.
Reactive web server API.
-
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.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.grpc.server
Methods in io.helidon.grpc.server that return ContextModifier and TypeMethodDescriptionGrpcServer.context()
Gets aGrpcServer
context.GrpcServerBasicConfig.context()
GrpcServerConfiguration.Builder.context()
Current HelidonContext
.GrpcServerConfiguration.context()
The top levelContext
to be used by the server.GrpcServerImpl.context()
Methods in io.helidon.grpc.server with parameters of type ContextModifier and TypeMethodDescriptionConfigure the application scoped context to be used as a parent for webserver request contexts. -
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
Methods in io.helidon.webclient that return ContextModifier and TypeMethodDescriptionWebClientServiceRequest.context()
Registry that can be used to propagate information from server (e.g.WebClientServiceResponse.context()
Context in which this response is received.Methods in io.helidon.webclient with parameters of type ContextModifier and TypeMethodDescriptionSets specific context which should be used in requests.Explicitly configure a context to use. -
Uses of Context in io.helidon.webserver
Methods in io.helidon.webserver that return ContextModifier and TypeMethodDescriptionServerConfiguration.context()
The top levelContext
to be used by this webserver.ServerRequest.context()
Returns a request context as a child ofWebServer
context.WebServer.context()
Gets aWebServer
context.Methods in io.helidon.webserver with parameters of type ContextModifier and TypeMethodDescriptionDeprecated.Configure the application scoped context to be used as a parent for webserver request contexts.Configure the application scoped context to be used as a parent for webserver request contexts.