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.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 the given host and port, returning aSocketAddressthrough the givenPromisewith the default timeout.voidSocketAddressResolver.Sync.resolve(String host, int port, Promise<List<InetSocketAddress>> promise) Constructors in org.eclipse.jetty.util with parameters of type Promise