| Package | Description |
|---|---|
| org.eclipse.jetty.client |
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
| org.eclipse.jetty.client.api | |
| org.eclipse.jetty.util | |
| org.eclipse.jetty.websocket.client.io |
Jetty WebSocket Client : I/O Implementation [Internal Use Only]
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HttpDestination.createConnection(Promise<Connection> promise) |
protected void |
HttpClient.newConnection(HttpDestination destination,
Promise<Connection> promise) |
void |
HttpDestination.newConnection(Promise<Connection> promise) |
| Modifier and Type | Method and Description |
|---|---|
void |
Destination.newConnection(Promise<Connection> promise)
Creates asynchronously a new, unpooled,
Connection that will be returned
at a later time through the given Promise. |
| Modifier and Type | Class and Description |
|---|---|
class |
FuturePromise<C> |
static class |
Promise.Adapter<C>
Empty implementation of
Promise |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SocketAddressResolver.resolve(String host,
int port,
long timeout,
Promise<SocketAddress> promise)
Resolves the given host and port, returning a
SocketAddress through the given Promise
with the given timeout. |
void |
SocketAddressResolver.resolve(String host,
int port,
Promise<SocketAddress> promise)
Resolves the given host and port, returning a
SocketAddress through the given Promise
with the default timeout. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectPromise
Holder for the pending connect information.
|
Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.