9596979899100101102103104105
.put("port", port) .put("resources", new JsonArray().add("com.englishtown.vertx.jersey.promises.integration.resources")); CountDownLatch latch = new CountDownLatch(1); whenJerseyServer.createServer(config) .then(value -> { latch.countDown(); return null; }) .otherwise(t -> {