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 Classes
|
org.eclipse.jetty.spdy | |
org.eclipse.jetty.spdy.api | |
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
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) |
protected void |
HttpDestination.tunnelFailed(Connection connection,
Promise<Connection> promise,
Throwable failure) |
protected void |
HttpDestination.tunnelSucceeded(Connection connection,
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 | Method and Description |
---|---|
void |
StandardSession.ping(PingInfo pingInfo,
Promise<PingResultInfo> promise) |
void |
StandardStream.push(PushInfo pushInfo,
Promise<Stream> promise) |
void |
StandardSession.syn(SynInfo synInfo,
StreamFrameListener listener,
Promise<Stream> promise) |
Constructor and Description |
---|
StandardStream(int id,
byte priority,
ISession session,
IStream associatedStream,
Promise<Stream> promise) |
Modifier and Type | Method and Description |
---|---|
void |
Session.ping(PingInfo pingInfo,
Promise<PingResultInfo> promise)
Sends asynchronously a PING, normally to measure round-trip time.
|
void |
Stream.push(PushInfo pushInfo,
Promise<Stream> promise)
Initiate a unidirectional spdy pushstream associated to this stream asynchronously
|
void |
Session.syn(SynInfo synInfo,
StreamFrameListener listener,
Promise<Stream> promise)
Sends asynchronously a SYN_FRAME to create a new
SPDY stream . |
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-2013 Mort Bay Consulting. All Rights Reserved.