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

- Packages that use Context
  Package | Description
  --- | ---
  io.vertx.core |
  io.vertx.core.spi.tracing |
  io.vertx.db2client |
  io.vertx.ext.auth |
  io.vertx.ext.mail.mailencoder |
  io.vertx.ext.web.handler.graphql.dataloader |
  io.vertx.ext.web.handler.graphql.schema |
  io.vertx.kafka.client.common.tracing |
  io.vertx.mssqlclient |
  io.vertx.mysqlclient |
  io.vertx.pgclient |
  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 |
  io.vertx.sqlclient.spi |
  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 and Description
    --- | ---
    `protected Context` | AbstractVerticle.`context` Reference to the context of the verticle

    Methods in io.vertx.core that return Context
    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

    Methods in io.vertx.core with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Future<T>` | Future.`fromCompletionStage(CompletionStage<T> completionStage, Context context)` Bridges a `CompletionStage` object to a Vert.x future instance.
    `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.

  - ### 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 and 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.db2client

    Method parameters in io.vertx.db2client with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `DB2Pool` | DB2Pool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Methods in io.vertx.ext.auth with parameters of type Context
    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.

  - ### 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 and Description
    --- | ---
    `ReadStream<Buffer>` | EncodedPart.`bodyStream(Context context)`
    `ReadStream<Buffer>` | EncodedPart.`dkimBodyStream(Context context)`

  - ### Uses of Context in io.vertx.ext.web.handler.graphql.dataloader

    Method parameters in io.vertx.ext.web.handler.graphql.dataloader with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `static <K,V> VertxBatchLoader<K,V>` | VertxBatchLoader.`create(java.util.function.BiFunction<List<K>,org.dataloader.BatchLoaderEnvironment,Future<List<V>>> batchLoader, java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)` Deprecated. Like `VertxBatchLoader.create(BiFunction)`, except the method uses the provided `contextProvider` instead of capturing the current one.
    `static <K,V> VertxMappedBatchLoader<K,V>` | VertxMappedBatchLoader.`create(java.util.function.BiFunction<Set<K>,org.dataloader.BatchLoaderEnvironment,Future<Map<K,V>>> batchLoader, java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)` Deprecated. Like `VertxMappedBatchLoader.create(BiFunction)`, except the method uses the provided `contextProvider` instead of capturing the current one.
    `static <K,V> VertxBatchLoader<K,V>` | VertxBatchLoader.`create(TriConsumer<List<K>,org.dataloader.BatchLoaderEnvironment,Promise<List<V>>> batchLoader, java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)` Deprecated. Like `VertxBatchLoader.create(TriConsumer)`, except the method uses the provided `contextProvider` instead of capturing the current one.
    `static <K,V> VertxMappedBatchLoader<K,V>` | VertxMappedBatchLoader.`create(TriConsumer<Set<K>,org.dataloader.BatchLoaderEnvironment,Promise<Map<K,V>>> batchLoader, java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)` Deprecated. Like `VertxMappedBatchLoader.create(TriConsumer)`, except the method uses the provided `contextProvider` instead of capturing the current one.

  - ### Uses of Context in io.vertx.ext.web.handler.graphql.schema

    Method parameters in io.vertx.ext.web.handler.graphql.schema with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `static <T> VertxDataFetcher<T>` | VertxDataFetcher.`create(java.util.function.BiConsumer<graphql.schema.DataFetchingEnvironment,Promise<T>> dataFetcher, java.util.function.Function<graphql.schema.DataFetchingEnvironment,Context> contextProvider)` Deprecated. Like `VertxDataFetcher.create(BiConsumer)`, except the method uses the provided `contextProvider` instead of capturing the current one.
    `static <T> VertxDataFetcher<T>` | VertxDataFetcher.`create(java.util.function.Function<graphql.schema.DataFetchingEnvironment,Future<T>> dataFetcher, java.util.function.Function<graphql.schema.DataFetchingEnvironment,Context> contextProvider)` Deprecated. Like `VertxDataFetcher.create(Function)`, except the method uses the provided `contextProvider` instead of capturing the current one.

  - ### 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 and 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.mssqlclient

    Method parameters in io.vertx.mssqlclient with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `MSSQLPool` | MSSQLPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Method parameters in io.vertx.mysqlclient with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `MySQLPool` | MySQLPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Method parameters in io.vertx.pgclient with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `PgPool` | PgPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Methods in io.vertx.reactivex with parameters of type Context
    Modifier and Type | Method and 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 and 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 and Description
    --- | ---
    `Context` | Context.`getDelegate()`

    Methods in io.vertx.reactivex.core with parameters of type Context
    Modifier and Type | Method and 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 and 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 and 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 and 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 and Description
    --- | ---
    `Context` | Context.`getDelegate()`

    Methods in io.vertx.rxjava.core with parameters of type Context
    Modifier and Type | Method and 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 and 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 and 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 and 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 and Description
    --- | ---
    `Context` | Context.`getDelegate()`

    Methods in io.vertx.rxjava3.core with parameters of type Context
    Modifier and Type | Method and 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 and Description
    `Context(Context delegate)`

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

    Method parameters in io.vertx.sqlclient with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `Pool` | Pool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)` Replace the default pool connection provider, the new `provider` returns a future connection for a given `Context`.

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

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

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

    Methods in io.vertx.tracing.opentracing with parameters of type Context
    Modifier and Type | Method and 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 and 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)`

Copyright © 2024 Eclipse. All rights reserved.