| Package | Description |
|---|---|
| io.vertx.core | |
| io.vertx.core.spi | |
| io.vertx.core.spi.tracing | |
| io.vertx.ext.auth | |
| io.vertx.reactivex.core | |
| io.vertx.rxjava.core | |
| io.vertx.tracing.opentracing | |
| io.vertx.tracing.zipkin |
| Modifier and Type | Field and Description |
|---|---|
protected Context |
AbstractVerticle.context
Reference to the context of the verticle
|
| Modifier and Type | Method and Description |
|---|---|
static Context |
Vertx.currentContext()
Gets the current context
|
Context |
Context.exceptionHandler(Handler<Throwable> handler)
Set an exception handler called when the context runs an action throwing an uncaught throwable.
When this handler is called,
Vertx.currentContext() will return this context. |
Context |
Vertx.getOrCreateContext()
Gets the current context, or creates one if there isn't one
|
| Modifier and Type | Method and Description |
|---|---|
void |
Verticle.init(Vertx vertx,
Context context)
Initialise the verticle with the Vert.x instance and the context.
|
void |
AbstractVerticle.init(Vertx vertx,
Context context)
Initialise the verticle.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
VertxFactory.context() |
| Modifier and Type | Method and Description |
|---|---|
default <R> I |
VertxTracer.receiveRequest(Context context,
R request,
String operation,
Iterable<Map.Entry<String,String>> headers,
TagExtractor<R> tagExtractor)
Signal a request has been received and will be processed.
|
default <R> void |
VertxTracer.receiveResponse(Context context,
R response,
O payload,
Throwable failure,
TagExtractor<R> tagExtractor)
Signal a response has been received.
|
default <R> O |
VertxTracer.sendRequest(Context context,
R request,
String operation,
java.util.function.BiConsumer<String,String> headers,
TagExtractor<R> tagExtractor)
Signal a request is sent.
|
default <R> void |
VertxTracer.sendResponse(Context context,
R response,
I payload,
Throwable failure,
TagExtractor<R> tagExtractor)
Signal the response is sent.
|
| Modifier and Type | Method and Description |
|---|---|
static VertxContextPRNG |
VertxContextPRNG.current(Context context)
Get or create a secure non blocking random number generator using the provided vert.x context.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractVerticle.init(Vertx vertx,
Context context) |
static Context |
Context.newInstance(Context arg) |
| Constructor and Description |
|---|
Context(Context delegate) |
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractVerticle.init(Vertx vertx,
Context context) |
static Context |
Context.newInstance(Context arg) |
| Constructor and Description |
|---|
Context(Context delegate) |
| Modifier and Type | Method and Description |
|---|---|
<R> io.opentracing.Span |
OpenTracingTracer.receiveRequest(Context context,
R request,
String operation,
Iterable<Map.Entry<String,String>> headers,
TagExtractor<R> tagExtractor) |
<R> void |
OpenTracingTracer.receiveResponse(Context context,
R response,
io.opentracing.Span span,
Throwable failure,
TagExtractor<R> tagExtractor) |
<R> io.opentracing.Span |
OpenTracingTracer.sendRequest(Context context,
R request,
String operation,
java.util.function.BiConsumer<String,String> headers,
TagExtractor<R> tagExtractor) |
<R> void |
OpenTracingTracer.sendResponse(Context context,
R response,
io.opentracing.Span span,
Throwable failure,
TagExtractor<R> tagExtractor) |
| Modifier and Type | Method and Description |
|---|---|
<R> brave.Span |
ZipkinTracer.receiveRequest(Context context,
R request,
String operation,
Iterable<Map.Entry<String,String>> headers,
TagExtractor<R> tagExtractor) |
<R> void |
ZipkinTracer.receiveResponse(Context context,
R response,
java.util.function.BiConsumer<Object,Throwable> payload,
Throwable failure,
TagExtractor<R> tagExtractor) |
<R> java.util.function.BiConsumer<Object,Throwable> |
ZipkinTracer.sendRequest(Context context,
R request,
String operation,
java.util.function.BiConsumer<String,String> headers,
TagExtractor<R> tagExtractor) |
<R> void |
ZipkinTracer.sendResponse(Context context,
R response,
brave.Span span,
Throwable failure,
TagExtractor<R> tagExtractor) |
Copyright © 2019 Eclipse. All rights reserved.