| Package | Description |
|---|---|
| org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
| Modifier and Type | Class and Description |
|---|---|
class |
FuturePromise<C> |
static class |
Promise.Adapter<U>
Empty implementation of
Promise. |
static class |
Promise.Completable<S>
A CompletableFuture that is also a Promise.
|
static class |
Promise.Wrapper<W> |
| Modifier and Type | Method and Description |
|---|---|
static <T> Promise<T> |
Promise.from(CompletableFuture<? super T> completable)
Creates a promise from the given incomplete CompletableFuture.
|
Promise<W> |
Promise.Wrapper.getPromise() |
Promise<W> |
Promise.Wrapper.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
SocketAddressResolver.resolve(String host,
int port,
Promise<List<InetSocketAddress>> promise)
Resolves the given host and port, returning a
SocketAddress through the given Promise
with the default timeout. |
void |
SocketAddressResolver.Sync.resolve(String host,
int port,
Promise<List<InetSocketAddress>> promise) |
void |
SocketAddressResolver.Async.resolve(String host,
int port,
Promise<List<InetSocketAddress>> promise) |
| Constructor and Description |
|---|
Wrapper(Promise<W> promise) |
Copyright © 1995–2017 Webtide. All rights reserved.