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 classMethods 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()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) Constructors in org.eclipse.jetty.util with parameters of type Promise