Uses of Interface
io.vertx.core.AsyncResult
-
-
Uses of AsyncResult in io.vertx.config.spi.utils
Method parameters in io.vertx.config.spi.utils with type arguments of type AsyncResult Modifier and Type Method Description voidFileSet. buildConfiguration(List<File> files, Handler<AsyncResult<JsonObject>> handler)Iterates over the given set of files, and for each matching file, computes the resulting configuration. -
Uses of AsyncResult in io.vertx.config.vault.client
Methods in io.vertx.config.vault.client that return AsyncResult Modifier and Type Method Description static <T> AsyncResult<T>VaultException. toFailure(String message) -
Uses of AsyncResult in io.vertx.core
Subinterfaces of AsyncResult in io.vertx.core Modifier and Type Interface Description interfaceCompositeFutureThe composite future wraps a list offutures, it is useful when several futures needs to be coordinated.interfaceFuture<T>Represents the result of an action that may, or may not, have occurred yet.interfaceTimerA timer task that can be used as a future.Methods in io.vertx.core that return AsyncResult Modifier and Type Method Description default <U> AsyncResult<U>AsyncResult. map(Function<? super T,U> mapper)Apply amapperfunction on this async result.default <V> AsyncResult<V>AsyncResult. map(V value)Map the result of this async result to a specificvalue.default <V> AsyncResult<V>AsyncResult. mapEmpty()Map the result of this async result tonull.default AsyncResult<T>AsyncResult. otherwise(Function<Throwable,T> mapper)Apply amapperfunction on this async result.default AsyncResult<T>AsyncResult. otherwise(T value)Map the failure of this async result to a specificvalue.default AsyncResult<T>AsyncResult. otherwiseEmpty()Map the failure of this async result tonull.Methods in io.vertx.core with parameters of type AsyncResult Modifier and Type Method Description default voidPromise. handle(AsyncResult<T> asyncResult)Succeed or fail this promise with theAsyncResultevent.Method parameters in io.vertx.core with type arguments of type AsyncResult Modifier and Type Method Description default Future<T>Future. andThen(Handler<AsyncResult<T>> handler)Invokes the givenhandlerupon completion.CompositeFutureCompositeFuture. onComplete(Handler<AsyncResult<CompositeFuture>> handler)Future<T>Future. onComplete(Handler<AsyncResult<T>> handler)Add a handler to be notified of the result.<U> Future<U>Future. transform(Function<AsyncResult<T>,Future<U>> mapper)Transform this future with amapperfunction. -
Uses of AsyncResult in io.vertx.ext.auth.audit
Methods in io.vertx.ext.auth.audit that return types with arguments of type AsyncResult Modifier and Type Method Description default <T> Handler<AsyncResult<T>>SecurityAudit. auditHandlerFor(Marker marker) -
Uses of AsyncResult in io.vertx.ext.shell.spi
Method parameters in io.vertx.ext.shell.spi with type arguments of type AsyncResult Modifier and Type Method Description voidCommandResolverFactory. resolver(Vertx vertx, Handler<AsyncResult<CommandResolver>> resolveHandler)Obtain a command resolver for a Vert.x instance. -
Uses of AsyncResult in io.vertx.ext.unit
Methods in io.vertx.ext.unit that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure(Handler<Throwable> causeHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess(Handler<T> resultHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.Method parameters in io.vertx.ext.unit with type arguments of type AsyncResult Modifier and Type Method Description voidCompletion. handler(Handler<AsyncResult<T>> completionHandler)Completion handler to receive a completion signal when this completions completes. -
Uses of AsyncResult in io.vertx.ext.web
Method parameters in io.vertx.ext.web with type arguments of type AsyncResult Modifier and Type Method Description intRoutingContext. addEndHandler(Handler<AsyncResult<Void>> handler)Add an end handler for the request/response context. -
Uses of AsyncResult in io.vertx.ext.web.client.spi
Method parameters in io.vertx.ext.web.client.spi with type arguments of type AsyncResult Modifier and Type Method Description default voidCacheStore. delete(io.vertx.ext.web.client.impl.cache.CacheKey key, Handler<AsyncResult<Void>> handler)Delete all variations of a key from the cache.default voidCacheStore. flush(Handler<AsyncResult<Void>> handler)Delete all entries from the cache.default voidCacheStore. get(io.vertx.ext.web.client.impl.cache.CacheKey key, Handler<AsyncResult<io.vertx.ext.web.client.impl.cache.CachedHttpResponse>> handler)Retrieve a cached response.default voidCacheStore. set(io.vertx.ext.web.client.impl.cache.CacheKey key, io.vertx.ext.web.client.impl.cache.CachedHttpResponse response, Handler<AsyncResult<io.vertx.ext.web.client.impl.cache.CachedHttpResponse>> handler)Add a response in the cache with the given key. -
Uses of AsyncResult in io.vertx.junit5
Methods in io.vertx.junit5 that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>VertxTestContext. completing()Deprecated.UseVertxTestContext.succeedingThenComplete()instead.<T> Handler<AsyncResult<T>>VertxTestContext. failing()Deprecated.UseVertxTestContext.failingThenComplete()orVertxTestContext.failing(Handler), for examplefailing(e -> checkpoint.flag()),failing(e -> { more testing code }), orfailing(e -> {}).<T> Handler<AsyncResult<T>>VertxTestContext. failing(Handler<Throwable> nextHandler)Create an asynchronous result handler that expects a failure, and passes the exception to another handler.<T> Handler<AsyncResult<T>>VertxTestContext. failingThenComplete()Create an asynchronous result handler that expects a failure to then complete the test context.<T> Handler<AsyncResult<T>>VertxTestContext. succeeding(Handler<T> nextHandler)Create an asynchronous result handler that expects a success, and passes the value to another handler.<T> Handler<AsyncResult<T>>VertxTestContext. succeedingThenComplete()Create an asynchronous result handler that expects a success to then complete the test context. -
Uses of AsyncResult in io.vertx.lang.groovy
Methods in io.vertx.lang.groovy with parameters of type AsyncResult Modifier and Type Method Description static booleanVertxExtensionModule. asBoolean(AsyncResult self)Coerces anAsyncResultas a boolean value according to Groovy-Truth. -
Uses of AsyncResult in io.vertx.reactivex
Method parameters in io.vertx.reactivex with type arguments of type AsyncResult Modifier and Type Method Description static CompletableCompletableHelper. toCompletable(Consumer<Handler<AsyncResult<Void>>> handler)Returns aCompletablethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method.static <T> Maybe<T>MaybeHelper. toMaybe(Consumer<Handler<AsyncResult<T>>> handler)Returns aMaybethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method.static <T> CompletableObserverCompletableHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2SingleObserver.static <T> MaybeObserver<T>MaybeHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2MaybeObserver.static <T> SingleObserver<T>SingleHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2SingleObserver.static <T> Single<T>SingleHelper. toSingle(Consumer<Handler<AsyncResult<T>>> handler)Returns aSinglethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method. -
Uses of AsyncResult in io.vertx.reactivex.core
Methods in io.vertx.reactivex.core with parameters of type AsyncResult Modifier and Type Method Description voidPromise. handle(AsyncResult<T> asyncResult)Succeed or fail this promise with theAsyncResultevent. -
Uses of AsyncResult in io.vertx.reactivex.ext.auth.audit
Methods in io.vertx.reactivex.ext.auth.audit that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>SecurityAudit. auditHandlerFor(Marker marker) -
Uses of AsyncResult in io.vertx.reactivex.ext.bridge
Methods in io.vertx.reactivex.ext.bridge with parameters of type AsyncResult Modifier and Type Method Description voidBaseBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.reactivex.ext.eventbus.bridge.tcp
Methods in io.vertx.reactivex.ext.eventbus.bridge.tcp with parameters of type AsyncResult Modifier and Type Method Description voidBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.reactivex.ext.unit
Methods in io.vertx.reactivex.ext.unit that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure(Handler<Throwable> causeHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess(Handler<T> resultHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.Method parameters in io.vertx.reactivex.ext.unit with type arguments of type AsyncResult Modifier and Type Method Description voidAsync. handler(Handler<AsyncResult<Void>> completionHandler)Completion handler to receive a completion signal when this completions completes.voidCompletion. handler(Handler<AsyncResult<T>> completionHandler)Completion handler to receive a completion signal when this completions completes.voidTestCompletion. handler(Handler<AsyncResult<Void>> completionHandler)Completion handler to receive a completion signal when this completions completes. -
Uses of AsyncResult in io.vertx.reactivex.ext.web
Method parameters in io.vertx.reactivex.ext.web with type arguments of type AsyncResult Modifier and Type Method Description intRoutingContext. addEndHandler(Handler<AsyncResult<Void>> handler)Add an end handler for the request/response context. -
Uses of AsyncResult in io.vertx.reactivex.ext.web.handler.graphql.ws
Methods in io.vertx.reactivex.ext.web.handler.graphql.ws with parameters of type AsyncResult Modifier and Type Method Description voidConnectionInitEvent. handle(AsyncResult<Object> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.reactivex.ext.web.handler.sockjs
Methods in io.vertx.reactivex.ext.web.handler.sockjs with parameters of type AsyncResult Modifier and Type Method Description voidBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.rxjava3
Method parameters in io.vertx.rxjava3 with type arguments of type AsyncResult Modifier and Type Method Description static CompletableCompletableHelper. toCompletable(Consumer<Handler<AsyncResult<Void>>> handler)Returns aCompletablethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method.static <T> Maybe<T>MaybeHelper. toMaybe(Consumer<Handler<AsyncResult<T>>> handler)Returns aMaybethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method.static <T> CompletableObserverCompletableHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2SingleObserver.static <T> MaybeObserver<T>MaybeHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2MaybeObserver.static <T> SingleObserver<T>SingleHelper. toObserver(Handler<AsyncResult<T>> handler)Adapts an Vert.xHandler<AsyncResult<T>>to an RxJava2SingleObserver.static <T> Single<T>SingleHelper. toSingle(Consumer<Handler<AsyncResult<T>>> handler)Returns aSinglethat, when subscribed, uses the providedhandlerto adapt a callback-based asynchronous method. -
Uses of AsyncResult in io.vertx.rxjava3.core
Methods in io.vertx.rxjava3.core with parameters of type AsyncResult Modifier and Type Method Description voidPromise. handle(AsyncResult<T> asyncResult)Succeed or fail this promise with theAsyncResultevent. -
Uses of AsyncResult in io.vertx.rxjava3.ext.auth.audit
Methods in io.vertx.rxjava3.ext.auth.audit that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>SecurityAudit. auditHandlerFor(Marker marker) -
Uses of AsyncResult in io.vertx.rxjava3.ext.bridge
Methods in io.vertx.rxjava3.ext.bridge with parameters of type AsyncResult Modifier and Type Method Description voidBaseBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.rxjava3.ext.eventbus.bridge.tcp
Methods in io.vertx.rxjava3.ext.eventbus.bridge.tcp with parameters of type AsyncResult Modifier and Type Method Description voidBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.rxjava3.ext.unit
Methods in io.vertx.rxjava3.ext.unit that return types with arguments of type AsyncResult Modifier and Type Method Description <T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertFailure(Handler<Throwable> causeHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess()Creates and returns a new async handler, the returned handler controls the completion of the test.<T> Handler<AsyncResult<T>>TestContext. asyncAssertSuccess(Handler<T> resultHandler)Creates and returns a new async handler, the returned handler controls the completion of the test.Method parameters in io.vertx.rxjava3.ext.unit with type arguments of type AsyncResult Modifier and Type Method Description voidAsync. handler(Handler<AsyncResult<Void>> completionHandler)Completion handler to receive a completion signal when this completions completes.voidCompletion. handler(Handler<AsyncResult<T>> completionHandler)Completion handler to receive a completion signal when this completions completes.voidTestCompletion. handler(Handler<AsyncResult<Void>> completionHandler)Completion handler to receive a completion signal when this completions completes. -
Uses of AsyncResult in io.vertx.rxjava3.ext.web
Method parameters in io.vertx.rxjava3.ext.web with type arguments of type AsyncResult Modifier and Type Method Description intRoutingContext. addEndHandler(Handler<AsyncResult<Void>> handler)Add an end handler for the request/response context. -
Uses of AsyncResult in io.vertx.rxjava3.ext.web.handler.graphql.ws
Methods in io.vertx.rxjava3.ext.web.handler.graphql.ws with parameters of type AsyncResult Modifier and Type Method Description voidConnectionInitEvent. handle(AsyncResult<Object> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.rxjava3.ext.web.handler.sockjs
Methods in io.vertx.rxjava3.ext.web.handler.sockjs with parameters of type AsyncResult Modifier and Type Method Description voidBridgeEvent. handle(AsyncResult<Boolean> asyncResult)Succeed or fail this promise with the event. -
Uses of AsyncResult in io.vertx.servicediscovery.backend.redis
Method parameters in io.vertx.servicediscovery.backend.redis with type arguments of type AsyncResult Modifier and Type Method Description voidRedisBackendService. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)voidRedisBackendService. remove(Record record, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. store(Record record, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. update(Record record, Handler<AsyncResult<Void>> resultHandler) -
Uses of AsyncResult in io.vertx.servicediscovery.spi
Method parameters in io.vertx.servicediscovery.spi with type arguments of type AsyncResult Modifier and Type Method Description voidServiceDiscoveryBackend. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)Get the record with the given uuid.voidServiceDiscoveryBackend. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)Gets all the recordsvoidServiceDiscoveryBackend. remove(Record record, Handler<AsyncResult<Record>> resultHandler)Removes a record.voidServiceDiscoveryBackend. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)Removes a records based on its UUID.voidServiceDiscoveryBackend. store(Record record, Handler<AsyncResult<Record>> resultHandler)Stores a record.voidServiceDiscoveryBackend. update(Record record, Handler<AsyncResult<Void>> resultHandler)Updates a record -
Uses of AsyncResult in io.vertx.serviceproxy
Methods in io.vertx.serviceproxy that return types with arguments of type AsyncResult Modifier and Type Method Description static <T> Handler<AsyncResult<T>>HelperUtils. createHandler(Message msg, boolean includeDebugInfo)static Handler<AsyncResult<List<Character>>>HelperUtils. createListCharHandler(Message msg, boolean includeDebugInfo)static <T> Handler<AsyncResult<List<T>>>HelperUtils. createListHandler(Message msg, boolean includeDebugInfo)static Handler<AsyncResult<Map<String,Character>>>HelperUtils. createMapCharHandler(Message msg, boolean includeDebugInfo)static <T> Handler<AsyncResult<Map<String,T>>>HelperUtils. createMapHandler(Message msg, boolean includeDebugInfo)static Handler<AsyncResult<Set<Character>>>HelperUtils. createSetCharHandler(Message msg, boolean includeDebugInfo)static <T> Handler<AsyncResult<Set<T>>>HelperUtils. createSetHandler(Message msg, boolean includeDebugInfo)
-