Uses of Interface
io.vertx.core.Context
Packages that use Context
-
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.