Uses of Interface
io.vertx.core.Context
-
-
Uses of Context in io.vertx.core
Fields in io.vertx.core declared as Context Modifier and Type Field Description protected ContextAbstractVerticle. contextReference to the context of the verticleprotected ContextVerticleBase. contextReference to the context of the verticleMethods in io.vertx.core that return Context Modifier and Type Method Description static ContextVertx. currentContext()Gets the current contextContextContext. exceptionHandler(Handler<Throwable> handler)Set an exception handler called when the context runs an action throwing an uncaught throwable.ContextVertx. getOrCreateContext()Gets the current context, or creates one if there isn't oneMethods 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 aCompletionStageobject to a Vert.x future instance.voidAbstractVerticle. init(Vertx vertx, Context context)Initialise the verticle.voidVerticle. init(Vertx vertx, Context context)Initialise the verticle with the Vert.x instance and the context.voidVerticleBase. 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 TContextLocal. get(Context context)Get 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 TContextLocal. get(Context context, Supplier<? extends T> initialValueSupplier)Get 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)Like#put(Context, T)but with anaccessMode.default voidContextLocal. put(Context context, T data)Put local data in thecontext.default voidContextLocal. remove(Context context)Remove 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 Context Modifier and Type Method Description default <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 Context Modifier and Type Method Description static VertxContextPRNGVertxContextPRNG. 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 GrpcLocalGrpcLocal. 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 voidConsumerTracer.StartedSpan. fail(Context context, Throwable failure)voidProducerTracer.StartedSpan. fail(Context context, Throwable failure)voidConsumerTracer.StartedSpan. finish(Context context)voidProducerTracer.StartedSpan. finish(Context context)ConsumerTracer.StartedSpanConsumerTracer. prepareMessageReceived(Context context, org.apache.kafka.clients.consumer.ConsumerRecord rec)ProducerTracer.StartedSpanProducerTracer. 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 SchedulerRxHelper. scheduler(Context context)Create a scheduler for aContext, 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 ContextContext. getDelegate()Methods in io.vertx.reactivex.core with parameters of type Context Modifier and Type Method Description voidAbstractVerticle. init(Vertx vertx, Context context)static ContextContext. 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.rxjava3
Methods in io.vertx.rxjava3 with parameters of type Context Modifier and Type Method Description static SchedulerRxHelper. scheduler(Context context)Create a scheduler for aContext, 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 ContextContext. getDelegate()Methods in io.vertx.rxjava3.core with parameters of type Context Modifier and Type Method Description voidAbstractVerticle. init(Vertx vertx, Context context)static ContextContext. 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 givencontext.default Future<SqlConnection>ConnectionFactory. connect(Context context, Future<C> fut) -
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.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 Context Modifier and Type Method Description <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)
-