Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.http | |
io.vertx.core.spi | |
io.vertx.ext.unit | |
io.vertx.ext.web | |
io.vertx.ext.web.handler.sockjs | |
io.vertx.rxjava.core |
Modifier and Type | Method and Description |
---|---|
static <T> Future<T> |
Future.failedFuture(String failureMessage)
Create a failed future with the specified failure message.
|
static <T> Future<T> |
Future.failedFuture(Throwable t)
Create a failed future with the specified failure cause.
|
static <T> Future<T> |
Future.future()
Create a future that hasn't completed yet
|
static <T> Future<T> |
Future.succeededFuture()
Create a succeeded future with a null result
|
static <T> Future<T> |
Future.succeededFuture(T result)
Created a succeeded future with the specified result.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractVerticle.start(Future<Void> startFuture)
Start the verticle.
|
void |
Verticle.start(Future<Void> startFuture)
Start the verticle instance.
|
void |
AbstractVerticle.stop(Future<Void> stopFuture)
Stop the verticle.
|
void |
Verticle.stop(Future<Void> stopFuture)
Stop the verticle instance.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
Vertx.executeBlocking(Handler<Future<T>> blockingCodeHandler,
boolean ordered,
Handler<AsyncResult<T>> resultHandler)
Safely execute some blocking code.
|
<T> void |
Vertx.executeBlocking(Handler<Future<T>> blockingCodeHandler,
Handler<AsyncResult<T>> resultHandler)
Like
Vertx.executeBlocking(Handler, boolean, Handler) called with ordered = true. |
Modifier and Type | Method and Description |
---|---|
HttpServerResponse |
HttpServerResponse.headersEndHandler(Handler<Future> handler)
Provide a handler that will be called just before the headers are written to the wire.
|
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
FutureFactory.completedFuture() |
<T> Future<T> |
FutureFactory.completedFuture(String failureMessage,
boolean failed) |
<T> Future<T> |
FutureFactory.completedFuture(T result) |
<T> Future<T> |
FutureFactory.completedFuture(Throwable t) |
<T> Future<T> |
FutureFactory.future() |
Modifier and Type | Method and Description |
---|---|
default void |
VerticleFactory.resolve(String identifier,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Future<String> resolution) |
Modifier and Type | Method and Description |
---|---|
void |
TestCompletion.resolve(Future future)
Completes the future when all test cases of the test suite passes, otherwise fails it.
|
Modifier and Type | Method and Description |
---|---|
int |
RoutingContext.addHeadersEndHandler(Handler<Future> handler)
Add a handler that will be called just before headers are written to the response.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BridgeEvent
Represents an event that occurs on the event bus bridge.
|
Modifier and Type | Method and Description |
---|---|
static <T> Future<T> |
Future.newInstance(Future arg) |
Constructor and Description |
---|
Future(Future delegate) |
Copyright © 2015. All Rights Reserved.