Vert.x - Context

Java Conceptuel Diagram

About

Language - (Execution) Context (Connection=Session, Request, Scope, Namespace) in vert.x is made available via a context object.

Example

final Context context = vertx.getOrCreateContext();
context.put("data", "hello");
context.runOnContext((v) -> {
  String hello = context.get("data");
});

Documentation







Share this page:
Follow us:
Task Runner