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 -
-
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.
-