## Uses of Interface
io.vertx.core.Future

- Packages that use Future
  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 |

- - ### Uses of Future in io.vertx.core

    Methods in io.vertx.core that return Future
    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.

    Methods in io.vertx.core with parameters of type Future
    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.

    Method parameters in io.vertx.core with type arguments of type Future
    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.

  - ### Uses of Future in io.vertx.core.http

    Method parameters in io.vertx.core.http with type arguments of type Future
    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.

  - ### Uses of Future in io.vertx.core.spi

    Methods in io.vertx.core.spi that return Future
    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()`

    Methods in io.vertx.core.spi with parameters of type Future
    Modifier and Type | Method and Description
    --- | ---
    `default void` | VerticleFactory.`resolve(String identifier, DeploymentOptions deploymentOptions, ClassLoader classLoader, Future<String> resolution)`

  - ### Uses of Future in io.vertx.ext.unit

    Methods in io.vertx.ext.unit with parameters of type Future
    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.

  - ### Uses of Future in io.vertx.ext.web

    Method parameters in io.vertx.ext.web with type arguments of type Future
    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.

  - ### Uses of Future in io.vertx.ext.web.handler.sockjs

    Subinterfaces of Future in io.vertx.ext.web.handler.sockjs
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BridgeEvent` Represents an event that occurs on the event bus bridge.

  - ### Uses of Future in io.vertx.rxjava.core

    Methods in io.vertx.rxjava.core with parameters of type Future
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Future<T>` | Future.`newInstance(Future arg)`

    Constructors in io.vertx.rxjava.core with parameters of type Future
    Constructor and Description
    `Future(Future delegate)`

Copyright © 2015. All Rights Reserved.