## Uses of Interface
io.vertx.core.Context

- Packages that use Context
  Package | Description
  --- | ---
  io.vertx.core |
  io.vertx.core.spi.context.storage |
  io.vertx.core.spi.tracing |
  io.vertx.ext.auth.prng |
  io.vertx.ext.mail.mailencoder |
  io.vertx.grpc.common |
  io.vertx.kafka.client.common.tracing |
  io.vertx.reactivex |
  io.vertx.reactivex.core |
  io.vertx.rx.java |
  io.vertx.rxjava.core |
  io.vertx.rxjava3 |
  io.vertx.rxjava3.core |
  io.vertx.sqlclient.spi |
  io.vertx.tracing.opentelemetry |
  io.vertx.tracing.opentracing |
  io.vertx.tracing.zipkin |

- - ### Uses of Context in io.vertx.core

    Fields in io.vertx.core declared as Context
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Context` | AbstractVerticle.`context` | Reference to the context of the verticle
    `protected Context` | VerticleBase.`context` | Reference to the context of the verticle

    Methods in io.vertx.core that return Context
    Modifier and Type | Method | 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.
    `Context` | Vertx.`getOrCreateContext()` | Gets the current context, or creates one if there isn't one

    Methods in io.vertx.core with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<?>` | AbstractVerticle.`deploy​(Context context)` |
    `Future<?>` | Deployable.`deploy​(Context context)` | Start the deployable.
    `Future<?>` | VerticleBase.`deploy​(Context context)` |
    `static <T> Future<T>` | Future.`fromCompletionStage​(CompletionStage<T> completionStage, Context context)` | Bridges a `CompletionStage` object to a Vert.x future instance.
    `void` | AbstractVerticle.`init​(Vertx vertx, Context context)` | Initialise the verticle.
    `void` | Verticle.`init​(Vertx vertx, Context context)` | Initialise the verticle with the Vert.x instance and the context.
    `void` | VerticleBase.`init​(Vertx vertx, Context context)` | Initialise the verticle.
    `Future<?>` | AbstractVerticle.`undeploy​(Context context)` |
    `default Future<?>` | Deployable.`undeploy​(Context context)` | Stop the deployable.
    `Future<?>` | VerticleBase.`undeploy​(Context context)` |

  - ### Uses of Context in io.vertx.core.spi.context.storage

    Methods in io.vertx.core.spi.context.storage with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `default T` | ContextLocal.`get​(Context context)` | Get the local data from the `context`.
    `default T` | ContextLocal.`get​(Context context, AccessMode accessMode)` | Like `ContextLocal.get(Context)` but with an `accessMode`.
    `default T` | ContextLocal.`get​(Context context, AccessMode accessMode, java.util.function.Supplier<? extends T> initialValueSupplier)` | Like `ContextLocal.get(Context, Supplier)` but with an `accessMode`.
    `default T` | ContextLocal.`get​(Context context, java.util.function.Supplier<? extends T> initialValueSupplier)` | Get the local data from the `context`, when it does not exist then call `initialValueSupplier` to obtain the initial value.
    `default void` | ContextLocal.`put​(Context context, AccessMode accessMode, T value)` | Like `#put(Context, T)` but with an `accessMode`.
    `default void` | ContextLocal.`put​(Context context, T data)` | Put local data in the `context`.
    `default void` | ContextLocal.`remove​(Context context)` | Remove the local data from the context.
    `default void` | ContextLocal.`remove​(Context context, AccessMode accessMode)` | Like `ContextLocal.remove(Context)` but with an `accessMode`.

  - ### Uses of Context in io.vertx.core.spi.tracing

    Methods in io.vertx.core.spi.tracing with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `default <R> I` | VertxTracer.`receiveRequest​(Context context, SpanKind kind, TracingPolicy policy, 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, SpanKind kind, TracingPolicy policy, 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.

  - ### Uses of Context in io.vertx.ext.auth.prng

    Methods in io.vertx.ext.auth.prng with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `static VertxContextPRNG` | VertxContextPRNG.`current​(Context context)` | Get or create a secure non blocking random number generator using the provided vert.x context.

  - ### Uses of Context in io.vertx.ext.mail.mailencoder

    Methods in io.vertx.ext.mail.mailencoder with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `ReadStream<Buffer>` | EncodedPart.`bodyStream​(Context context)` |
    `ReadStream<Buffer>` | EncodedPart.`dkimBodyStream​(Context context)` |

  - ### Uses of Context in io.vertx.grpc.common

    Methods in io.vertx.grpc.common with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GrpcLocal` | GrpcLocal.`of​(Context context)` |

  - ### Uses of Context in io.vertx.kafka.client.common.tracing

    Methods in io.vertx.kafka.client.common.tracing with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ConsumerTracer.StartedSpan.`fail​(Context context, Throwable failure)` |
    `void` | ProducerTracer.StartedSpan.`fail​(Context context, Throwable failure)` |
    `void` | ConsumerTracer.StartedSpan.`finish​(Context context)` |
    `void` | ProducerTracer.StartedSpan.`finish​(Context context)` |
    `ConsumerTracer.StartedSpan` | ConsumerTracer.`prepareMessageReceived​(Context context, org.apache.kafka.clients.consumer.ConsumerRecord rec)` |
    `ProducerTracer.StartedSpan` | ProducerTracer.`prepareSendMessage​(Context context, org.apache.kafka.clients.producer.ProducerRecord record)` |

  - ### Uses of Context in io.vertx.reactivex

    Methods in io.vertx.reactivex with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Scheduler` | RxHelper.`scheduler​(Context context)` | Create a scheduler for a `Context`, actions are executed on the event loop of this context.

    Constructors in io.vertx.reactivex with parameters of type Context
    Constructor | Description
    --- | ---
    `ContextScheduler​(Context context, boolean blocking)` |
    `ContextScheduler​(Context context, boolean blocking, boolean ordered)` |

  - ### Uses of Context in io.vertx.reactivex.core

    Methods in io.vertx.reactivex.core that return Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `Context` | Context.`getDelegate()` |

    Methods in io.vertx.reactivex.core with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AbstractVerticle.`init​(Vertx vertx, Context context)` |
    `static Context` | Context.`newInstance​(Context arg)` |

    Constructors in io.vertx.reactivex.core with parameters of type Context
    Constructor | Description
    --- | ---
    `Context​(Context delegate)` |

  - ### Uses of Context in io.vertx.rx.java

    Methods in io.vertx.rx.java with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Scheduler` | RxHelper.`scheduler​(Context context)` | Create a scheduler for a `Context`, actions are executed on the event loop of this context.
    `static RxJavaSchedulersHook` | RxHelper.`schedulerHook​(Context context)` | Create a scheduler hook for a `Context` object, the `RxJavaSchedulersHook.getIOScheduler()` uses a blocking scheduler.

    Constructors in io.vertx.rx.java with parameters of type Context
    Constructor | Description
    --- | ---
    `ContextScheduler​(Context context, boolean blocking)` |
    `ContextScheduler​(Context context, boolean blocking, boolean ordered)` |

  - ### Uses of Context in io.vertx.rxjava.core

    Methods in io.vertx.rxjava.core that return Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `Context` | Context.`getDelegate()` |

    Methods in io.vertx.rxjava.core with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AbstractVerticle.`init​(Vertx vertx, Context context)` |
    `static Context` | Context.`newInstance​(Context arg)` |

    Constructors in io.vertx.rxjava.core with parameters of type Context
    Constructor | Description
    --- | ---
    `Context​(Context delegate)` |

  - ### Uses of Context in io.vertx.rxjava3

    Methods in io.vertx.rxjava3 with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Scheduler` | RxHelper.`scheduler​(Context context)` | Create a scheduler for a `Context`, actions are executed on the event loop of this context.

    Constructors in io.vertx.rxjava3 with parameters of type Context
    Constructor | Description
    --- | ---
    `ContextScheduler​(Context context, boolean blocking)` |
    `ContextScheduler​(Context context, boolean blocking, boolean ordered)` |

  - ### Uses of Context in io.vertx.rxjava3.core

    Methods in io.vertx.rxjava3.core that return Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `Context` | Context.`getDelegate()` |

    Methods in io.vertx.rxjava3.core with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AbstractVerticle.`init​(Vertx vertx, Context context)` |
    `static Context` | Context.`newInstance​(Context arg)` |

    Constructors in io.vertx.rxjava3.core with parameters of type Context
    Constructor | Description
    --- | ---
    `Context​(Context delegate)` |

  - ### Uses of Context in io.vertx.sqlclient.spi

    Methods in io.vertx.sqlclient.spi with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<SqlConnection>` | ConnectionFactory.`connect​(Context context, C options)` | Create a connection using the given `context`.
    `default Future<SqlConnection>` | ConnectionFactory.`connect​(Context context, Future<C> fut)` |

  - ### Uses of Context in io.vertx.tracing.opentelemetry

    Methods in io.vertx.tracing.opentelemetry with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `io.opentelemetry.context.Scope` | VertxContextStorageProvider.VertxContextStorage.`attach​(Context vertxCtx, io.opentelemetry.context.Context toAttach)` |

  - ### Uses of Context in io.vertx.tracing.opentracing

    Methods in io.vertx.tracing.opentracing with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `<R> io.opentracing.Span` | OpenTracingTracer.`receiveRequest​(Context context, SpanKind kind, TracingPolicy policy, 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, SpanKind kind, TracingPolicy policy, 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)` |

  - ### Uses of Context in io.vertx.tracing.zipkin

    Methods in io.vertx.tracing.zipkin with parameters of type Context
    Modifier and Type | Method | Description
    --- | --- | ---
    `<R> brave.Span` | ZipkinTracer.`receiveRequest​(Context context, SpanKind kind, TracingPolicy policy, 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, SpanKind kind, TracingPolicy policy, 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)` |