Uses of Interface
org.eclipse.jetty.util.Promise
-
Packages that use Promise Package Description org.eclipse.jetty.client Jetty Client : Implementation and Core Classes This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.org.eclipse.jetty.client.api Jetty Client : API Classesorg.eclipse.jetty.client.http org.eclipse.jetty.util Jetty Util : Common Utility Classes -
-
Uses of Promise in org.eclipse.jetty.client
Methods in org.eclipse.jetty.client with parameters of type Promise Modifier and Type Method Description protected void
HttpDestination. createConnection(Promise<Connection> promise)
protected void
HttpClient. newConnection(HttpDestination destination, Promise<Connection> promise)
void
HttpDestination. newConnection(Promise<Connection> promise)
-
Uses of Promise in org.eclipse.jetty.client.api
Methods in org.eclipse.jetty.client.api with parameters of type Promise Modifier and Type Method Description void
Destination. newConnection(Promise<Connection> promise)
Creates asynchronously a new, unpooled,Connection
that will be returned at a later time through the givenPromise
. -
Uses of Promise in org.eclipse.jetty.client.http
Methods in org.eclipse.jetty.client.http with parameters of type Promise Modifier and Type Method Description protected HttpConnectionOverHTTP
HttpClientTransportOverHTTP. newHttpConnection(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise)
Constructors in org.eclipse.jetty.client.http with parameters of type Promise Constructor Description HttpConnectionOverHTTP(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise)
-
Uses of Promise in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement Promise Modifier and Type Class Description class
FuturePromise<C>
static class
Promise.Adapter<U>
Empty implementation ofPromise
.static class
Promise.Completable<S>
A CompletableFuture that is also a Promise.static class
Promise.Wrapper<W>
Methods in org.eclipse.jetty.util that return Promise Modifier and Type Method Description static <T> Promise<T>
Promise. from(java.util.concurrent.CompletableFuture<? super T> completable)
Creates a promise from the given incomplete CompletableFuture.Promise<W>
Promise.Wrapper. getPromise()
Promise<W>
Promise.Wrapper. unwrap()
Methods in org.eclipse.jetty.util with parameters of type Promise Modifier and Type Method Description void
SocketAddressResolver.Async. resolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)
void
SocketAddressResolver. resolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)
Resolves the given host and port, returning aSocketAddress
through the givenPromise
with the default timeout.void
SocketAddressResolver.Sync. resolve(java.lang.String host, int port, Promise<java.util.List<java.net.InetSocketAddress>> promise)
Constructors in org.eclipse.jetty.util with parameters of type Promise Constructor Description Wrapper(Promise<W> promise)
-