Uses of Class
io.vertx.mutiny.core.Future
-
Packages that use Future Package Description io.vertx.mutiny.core io.vertx.mutiny.core.http -
-
Uses of Future in io.vertx.mutiny.core
Subclasses of Future in io.vertx.mutiny.core Modifier and Type Class Description classCompositeFutureThe composite future wraps a list offutures, it is useful when several futures needs to be coordinated.Fields in io.vertx.mutiny.core with type parameters of type Future Modifier and Type Field Description static TypeArg<Future>Future. __TYPE_ARGMethods in io.vertx.mutiny.core that return Future Modifier and Type Method Description <U> Future<U>CompositeFuture. compose(Function<CompositeFuture,Future<U>> mapper)<U> Future<U>CompositeFuture. compose(Function<CompositeFuture,Future<U>> successMapper, Function<Throwable,Future<U>> failureMapper)<U> Future<U>Future. compose(Function<T,Future<U>> mapper)<U> Future<U>Future. compose(Function<T,Future<U>> successMapper, Function<Throwable,Future<U>> failureMapper)static <T> Future<T>Future. failedFuture(String failureMessage)static <T> Future<T>Future. failedFuture(Throwable t)<U> Future<U>CompositeFuture. flatMap(Function<CompositeFuture,Future<U>> mapper)<U> Future<U>Future. flatMap(Function<T,Future<U>> mapper)static <T> Future<T>Future. future()Deprecated.static <T> Future<T>Future. future(Consumer<Promise<T>> handler)Future<T>Promise. future()<U> Future<U>CompositeFuture. map(Function<CompositeFuture,U> mapper)<U> Future<U>Future. map(Function<T,U> mapper)<V> Future<V>Future. map(V value)<V> Future<V>Future. mapEmpty()static <T> Future<T>Future. newInstance(io.vertx.core.Future arg)static <T> Future<T>Future. newInstance(io.vertx.core.Future arg, TypeArg<T> __typeArg_T)Future<T>Future. onFailure(Consumer<Throwable> handler)Future<T>Future. onSuccess(Consumer<T> handler)Future<CompositeFuture>CompositeFuture. otherwise(CompositeFuture value)Future<CompositeFuture>CompositeFuture. otherwise(Function<Throwable,CompositeFuture> mapper)Future<T>Future. otherwise(Function<Throwable,T> mapper)Future<T>Future. otherwise(T value)Future<CompositeFuture>CompositeFuture. otherwiseEmpty()Future<T>Future. otherwiseEmpty()Future<CompositeFuture>CompositeFuture. recover(Function<Throwable,Future<CompositeFuture>> mapper)Future<T>Future. recover(Function<Throwable,Future<T>> mapper)static <T> Future<T>Future. succeededFuture()static <T> Future<T>Future. succeededFuture(T result)Methods in io.vertx.mutiny.core with parameters of type Future Modifier and Type Method Description static <T1,T2>
CompositeFutureCompositeFuture. all(Future<T1> f1, Future<T2> f2)static <T1,T2,T3>
CompositeFutureCompositeFuture. all(Future<T1> f1, Future<T2> f2, Future<T3> f3)static <T1,T2,T3,T4>
CompositeFutureCompositeFuture. all(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4)static <T1,T2,T3,T4,T5>
CompositeFutureCompositeFuture. all(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5)static <T1,T2,T3,T4,T5,T6>
CompositeFutureCompositeFuture. all(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5, Future<T6> f6)static <T1,T2>
CompositeFutureCompositeFuture. any(Future<T1> f1, Future<T2> f2)static <T1,T2,T3>
CompositeFutureCompositeFuture. any(Future<T1> f1, Future<T2> f2, Future<T3> f3)static <T1,T2,T3,T4>
CompositeFutureCompositeFuture. any(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4)static <T1,T2,T3,T4,T5>
CompositeFutureCompositeFuture. any(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5)static <T1,T2,T3,T4,T5,T6>
CompositeFutureCompositeFuture. any(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5, Future<T6> f6)static <T1,T2>
CompositeFutureCompositeFuture. join(Future<T1> f1, Future<T2> f2)static <T1,T2,T3>
CompositeFutureCompositeFuture. join(Future<T1> f1, Future<T2> f2, Future<T3> f3)static <T1,T2,T3,T4>
CompositeFutureCompositeFuture. join(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4)static <T1,T2,T3,T4,T5>
CompositeFutureCompositeFuture. join(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5)static <T1,T2,T3,T4,T5,T6>
CompositeFutureCompositeFuture. join(Future<T1> f1, Future<T2> f2, Future<T3> f3, Future<T4> f4, Future<T5> f5, Future<T6> f6)Method parameters in io.vertx.mutiny.core with type arguments of type Future Modifier and Type Method Description static CompositeFutureCompositeFuture. all(List<Future> futures)static CompositeFutureCompositeFuture. any(List<Future> futures)<U> Future<U>CompositeFuture. compose(Function<CompositeFuture,Future<U>> mapper)<U> Future<U>CompositeFuture. compose(Function<CompositeFuture,Future<U>> successMapper, Function<Throwable,Future<U>> failureMapper)<U> Future<U>Future. compose(Function<T,Future<U>> mapper)<U> Future<U>Future. compose(Function<T,Future<U>> successMapper, Function<Throwable,Future<U>> failureMapper)<U> Future<U>CompositeFuture. flatMap(Function<CompositeFuture,Future<U>> mapper)<U> Future<U>Future. flatMap(Function<T,Future<U>> mapper)static CompositeFutureCompositeFuture. join(List<Future> futures)Future<CompositeFuture>CompositeFuture. recover(Function<Throwable,Future<CompositeFuture>> mapper)Future<T>Future. recover(Function<Throwable,Future<T>> mapper) -
Uses of Future in io.vertx.mutiny.core.http
Methods in io.vertx.mutiny.core.http with parameters of type Future Modifier and Type Method Description io.smallrye.mutiny.Uni<Integer>ServerWebSocket. setHandshake(Future<Integer> future)Set an asynchronous result for the handshake, upon completion of the specifiedfuture, the WebSocket will either be accepted when thefuturesucceeds with the HTTP status code rejected when thefutureis succeeds with an HTTP status code different than rejected when thefuturefails with the HTTP status code500The provided future might be completed by the WebSocket itself, e.g calling theServerWebSocket.close()method will try to accept the handshake and close the WebSocket afterward.IntegerServerWebSocket. setHandshakeAndAwait(Future<Integer> future)Blocking variant ofio.vertx.mutiny.core.http.ServerWebSocket#setHandshake(io.vertx.mutiny.core.Future.) voidServerWebSocket. setHandshakeAndForget(Future<Integer> future)Variant ofio.vertx.mutiny.core.http.ServerWebSocket#setHandshake(io.vertx.mutiny.core.Futurethat ignores the result of the operation.) Method parameters in io.vertx.mutiny.core.http with type arguments of type Future Modifier and Type Method Description HttpClientHttpClient. redirectHandler(Function<HttpClientResponse,Future<HttpClientRequest>> handler)
-