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
Classes in org.eclipse.jetty.client that implement Promise Modifier and Type Class Description private class
AbstractConnectionPool.FutureConnection
private static class
HttpProxy.CreateTunnelPromise
Creates a tunnel using HTTP CONNECT.private static class
HttpProxy.TunnelPromise
Fields in org.eclipse.jetty.client declared as Promise Modifier and Type Field Description private Promise<Connection>
HttpProxy.CreateTunnelPromise. promise
private Promise<Connection>
HttpProxy.ProxyConnection. promise
private Promise<Connection>
HttpProxy.TunnelPromise. promise
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)
Constructors in org.eclipse.jetty.client with parameters of type Promise Constructor Description CreateTunnelPromise(ClientConnectionFactory connectionFactory, EndPoint endPoint, Promise<Connection> promise, java.util.Map<java.lang.String,java.lang.Object> context)
ProxyConnection(Destination destination, Connection connection, Promise<Connection> promise)
TunnelPromise(Request request, Response.CompleteListener listener, 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
Fields in org.eclipse.jetty.client.http declared as Promise Modifier and Type Field Description private Promise<Connection>
HttpConnectionOverHTTP. promise
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>
Fields in org.eclipse.jetty.util declared as Promise Modifier and Type Field Description private Promise<W>
Promise.Wrapper. promise
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)
-