Uses of Interface
io.vertx.core.AsyncResult
Packages that use AsyncResult
Package
Description
-
Uses of AsyncResult in io.vertx.config.spi.utils
Method parameters in io.vertx.config.spi.utils with type arguments of type AsyncResultModifier and TypeMethodDescriptionvoidFileSet.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 -
Uses of AsyncResult in io.vertx.core
Subinterfaces of AsyncResult in io.vertx.coreModifier and TypeInterfaceDescriptioninterfaceThe 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.interfaceA timer task that can be used as a future.Methods in io.vertx.core that return AsyncResultModifier and TypeMethodDescriptiondefault <U> AsyncResult<U> 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> Apply amapperfunction on this async result.default AsyncResult<T> 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 AsyncResultModifier and TypeMethodDescriptiondefault voidPromise.handle(AsyncResult<T> asyncResult) Succeed or fail this promise with theAsyncResultevent.Method parameters in io.vertx.core with type arguments of type AsyncResultModifier and TypeMethodDescriptionFuture.andThen(Handler<AsyncResult<T>> handler) Invokes the givenhandlerupon completion.CompositeFuture.onComplete(Handler<AsyncResult<CompositeFuture>> handler) 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 AsyncResultModifier and TypeMethodDescriptiondefault <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 AsyncResultModifier and TypeMethodDescriptionvoidCommandResolverFactory.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 AsyncResultModifier and TypeMethodDescription<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 AsyncResultModifier and TypeMethodDescriptionvoidCompletion.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 AsyncResultModifier and TypeMethodDescriptionintRoutingContext.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 AsyncResultModifier and TypeMethodDescriptiondefault 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 AsyncResultModifier and TypeMethodDescription<T> Handler<AsyncResult<T>> VertxTestContext.completing()Deprecated.<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>> 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 AsyncResultModifier and TypeMethodDescriptionstatic 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 AsyncResultModifier and TypeMethodDescriptionstatic 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 AsyncResultModifier and TypeMethodDescriptionvoidPromise.handle(AsyncResult<T> asyncResult) Succeed or fail this promise with theAsyncResultevent. -
Uses of AsyncResult in io.vertx.reactivex.eventbus.bridge.grpc
Methods in io.vertx.reactivex.eventbus.bridge.grpc with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.handle(AsyncResult<Boolean> asyncResult) Succeed or fail this promise with the event. -
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 AsyncResultModifier and TypeMethodDescription<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 AsyncResultModifier and TypeMethodDescriptionvoidBaseBridgeEvent.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 AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.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 AsyncResultModifier and TypeMethodDescription<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 AsyncResultModifier and TypeMethodDescriptionvoidAsync.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 AsyncResultModifier and TypeMethodDescriptionintRoutingContext.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 AsyncResultModifier and TypeMethodDescriptionvoidConnectionInitEvent.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 AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.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 AsyncResultModifier and TypeMethodDescriptionstatic 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 AsyncResultModifier and TypeMethodDescriptionvoidPromise.handle(AsyncResult<T> asyncResult) Succeed or fail this promise with theAsyncResultevent. -
Uses of AsyncResult in io.vertx.rxjava3.eventbus.bridge.grpc
Methods in io.vertx.rxjava3.eventbus.bridge.grpc with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.handle(AsyncResult<Boolean> asyncResult) Succeed or fail this promise with the event. -
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 AsyncResultModifier and TypeMethodDescription<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 AsyncResultModifier and TypeMethodDescriptionvoidBaseBridgeEvent.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 AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.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 AsyncResultModifier and TypeMethodDescription<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 AsyncResultModifier and TypeMethodDescriptionvoidAsync.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 AsyncResultModifier and TypeMethodDescriptionintRoutingContext.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 AsyncResultModifier and TypeMethodDescriptionvoidConnectionInitEvent.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 AsyncResultModifier and TypeMethodDescriptionvoidBridgeEvent.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 AsyncResultModifier and TypeMethodDescriptionvoidRedisBackendService.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 AsyncResultModifier and TypeMethodDescriptionvoidServiceDiscoveryBackend.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 AsyncResultModifier and TypeMethodDescriptionstatic <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)
VertxTestContext.succeedingThenComplete()instead.