| Package | Description |
|---|---|
| io.helidon.common.context |
Support fo context propagation across executor boundaries.
|
| io.helidon.common.http |
HTTP APIs and implementations usable by both server and client side of the HTTP story.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.Builder.build() |
static Context |
Context.create()
Creates a new empty instance.
|
static Context |
Context.create(Context parent)
Creates a new empty instance backed by its parent read-through
Context. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Context> |
Contexts.context()
Get context registry associated with current thread.
|
| Modifier and Type | Method and Description |
|---|---|
static Context |
Context.create(Context parent)
Creates a new empty instance backed by its parent read-through
Context. |
Context.Builder |
Context.Builder.parent(Context parent)
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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContextualRegistry
A registry for context objects.
|
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.