Uses of Interface
io.vertx.core.Context
Packages that use Context
Package
Description
-
Uses of Context in io.vertx.core
Fields in io.vertx.core declared as ContextModifier and TypeFieldDescriptionprotected ContextAbstractVerticle.contextReference to the context of the verticleprotected ContextVerticleBase.contextReference to the context of the verticleMethods in io.vertx.core that return ContextModifier and TypeMethodDescriptionstatic ContextVertx.currentContext()Gets the current contextContext.exceptionHandler(Handler<Throwable> handler) Set an exception handler called when the context runs an action throwing an uncaught throwable.Vertx.getOrCreateContext()Gets the current context, or creates one if there isn't oneMethods in io.vertx.core with parameters of type ContextModifier and TypeMethodDescriptionfinal Future<?> Future<?> Start the deployable.final Future<?> static <T> Future<T> Future.fromCompletionStage(CompletionStage<T> completionStage, Context context) Bridges aCompletionStageobject to a Vert.x future instance.voidInitialise the verticle.voidInitialise the verticle with the Vert.x instance and the context.voidInitialise the verticle.final Future<?> default Future<?> Stop the deployable.final Future<?> -
Uses of Context in io.vertx.core.spi.context.storage
Methods in io.vertx.core.spi.context.storage with parameters of type ContextModifier and TypeMethodDescriptiondefault TGet the local data from thecontext.default TContextLocal.get(Context context, AccessMode accessMode) LikeContextLocal.get(Context)but with anaccessMode.default TContextLocal.get(Context context, AccessMode accessMode, Supplier<? extends T> initialValueSupplier) LikeContextLocal.get(Context, Supplier)but with anaccessMode.default TGet the local data from thecontext, when it does not exist then callinitialValueSupplierto obtain the initial value.default voidContextLocal.put(Context context, AccessMode accessMode, T value) LikeContextLocal.put(Context, T)but with anaccessMode.default voidPut local data in thecontext.default voidRemove the local data from the context.default voidContextLocal.remove(Context context, AccessMode accessMode) LikeContextLocal.remove(Context)but with anaccessMode. -
Uses of Context in io.vertx.core.spi.tracing
Methods in io.vertx.core.spi.tracing with parameters of type ContextModifier and TypeMethodDescriptiondefault <R> IVertxTracer.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> voidVertxTracer.receiveResponse(Context context, R response, O payload, Throwable failure, TagExtractor<R> tagExtractor) Signal a response has been received.default <R> OVertxTracer.sendRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, BiConsumer<String, String> headers, TagExtractor<R> tagExtractor) Signal a request is sent.default <R> voidVertxTracer.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 ContextModifier and TypeMethodDescriptionstatic VertxContextPRNGGet 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 ContextModifier and TypeMethodDescriptionEncodedPart.bodyStream(Context context) EncodedPart.dkimBodyStream(Context context) -
Uses of Context in io.vertx.grpc.common
Methods in io.vertx.grpc.common with parameters of type Context -
Uses of Context in io.vertx.kafka.client.common.tracing
Methods in io.vertx.kafka.client.common.tracing with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidvoidvoidConsumerTracer.prepareMessageReceived(Context context, org.apache.kafka.clients.consumer.ConsumerRecord rec) 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 ContextModifier and TypeMethodDescriptionstatic SchedulerCreate a scheduler for aContext, actions are executed on the event loop of this context.Constructors in io.vertx.reactivex with parameters of type ContextModifierConstructorDescriptionContextScheduler(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 ContextMethods in io.vertx.reactivex.core with parameters of type ContextConstructors in io.vertx.reactivex.core with parameters of type Context -
Uses of Context in io.vertx.rxjava3
Methods in io.vertx.rxjava3 with parameters of type ContextModifier and TypeMethodDescriptionstatic SchedulerCreate a scheduler for aContext, actions are executed on the event loop of this context.Constructors in io.vertx.rxjava3 with parameters of type ContextModifierConstructorDescriptionContextScheduler(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 ContextMethods in io.vertx.rxjava3.core with parameters of type ContextConstructors in io.vertx.rxjava3.core with parameters of type Context -
Uses of Context in io.vertx.sqlclient.spi.connection
Methods in io.vertx.sqlclient.spi.connection with parameters of type Context -
Uses of Context in io.vertx.tracing.opentracing
Methods in io.vertx.tracing.opentracing with parameters of type ContextModifier and TypeMethodDescription<R> io.opentracing.SpanOpenTracingTracer.receiveRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, Iterable<Map.Entry<String, String>> headers, TagExtractor<R> tagExtractor) <R> voidOpenTracingTracer.receiveResponse(Context context, R response, io.opentracing.Span span, Throwable failure, TagExtractor<R> tagExtractor) <R> io.opentracing.SpanOpenTracingTracer.sendRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, BiConsumer<String, String> headers, TagExtractor<R> tagExtractor) <R> voidOpenTracingTracer.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 ContextModifier and TypeMethodDescription<R> brave.SpanZipkinTracer.receiveRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, Iterable<Map.Entry<String, String>> headers, TagExtractor<R> tagExtractor) <R> voidZipkinTracer.receiveResponse(Context context, R response, BiConsumer<Object, Throwable> payload, Throwable failure, TagExtractor<R> tagExtractor) <R> BiConsumer<Object, Throwable> ZipkinTracer.sendRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, BiConsumer<String, String> headers, TagExtractor<R> tagExtractor) <R> voidZipkinTracer.sendResponse(Context context, R response, brave.Span span, Throwable failure, TagExtractor<R> tagExtractor)