| 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.
|
| io.helidon.microprofile.server |
Microprofile 1.0 server implementation.
|
| io.helidon.webserver |
Reactive web server API.
|
| 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.
|
static <T> T |
Contexts.runInContextWithThrow(Context context,
Callable<T> callable)
Run the callable in the provided context throwing any exception from
its execution.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContextualRegistry
A registry for context objects.
|
| Modifier and Type | Method and Description |
|---|---|
static ContextualRegistry |
ContextualRegistry.create(Context parent)
Creates a new empty instance backed by its parent read-through
ContextualRegistry. |
| Modifier and Type | Method and Description |
|---|---|
Server.Builder |
Server.Builder.context(Context parentContext)
Configure the parent context to be used by this server.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
ServerConfiguration.context()
The top level
Context to be used by this webserver. |
| Modifier and Type | Method and Description |
|---|---|
ServerConfiguration.Builder |
ServerConfiguration.Builder.context(Context context)
Configure the application scoped context to be used as a parent for webserver request contexts.
|
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.