Uses of Interface
org.eclipse.jetty.util.Promise
Packages that use Promise
-
Uses of Promise in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement PromiseModifier and TypeClassDescriptionclassstatic classEmpty implementation ofPromise.static classA CompletableFuture that is also a Promise.static classFields in org.eclipse.jetty.util declared as PromiseMethods in org.eclipse.jetty.util that return PromiseModifier and TypeMethodDescriptionstatic <T> Promise<T> Promise.from(CompletableFuture<? super T> completable) Creates a promise from the given incomplete CompletableFuture.static <T> Promise<T> Creates a Promise from the given success and failure consumers.Promise.Wrapper.getPromise()static <T> Promise<T> Promise.noop()Promise.Wrapper.unwrap()Methods in org.eclipse.jetty.util with parameters of type PromiseModifier and TypeMethodDescriptionvoidSocketAddressResolver.Async.resolve(String host, int port, Promise<List<InetSocketAddress>> promise) voidSocketAddressResolver.resolve(String host, int port, Promise<List<InetSocketAddress>> promise) Resolves via DNS the given host and port, within the connect timeout, returning a list ofInetSocketAddressthrough the givenPromise.voidSocketAddressResolver.Sync.resolve(String host, int port, Promise<List<InetSocketAddress>> promise) Method parameters in org.eclipse.jetty.util with type arguments of type PromiseModifier and TypeMethodDescriptionstatic <R> Promise.Completable<R> Creates a newCompletableto be consumed by the givenconsumer, then returns the newly createdCompletable.Constructors in org.eclipse.jetty.util with parameters of type Promise