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
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
HttpDestination.acquire() |
protected Connection |
HttpClient.tunnel(Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected BlockingQueue<Connection> |
HttpDestination.getActiveConnections() |
protected BlockingQueue<Connection> |
HttpDestination.getIdleConnections() |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpDestination.process(Connection connection,
boolean dispatch)
Processes a new connection making it idle or active depending on whether requests are waiting to be sent.
|
void |
HttpDestination.release(Connection connection) |
void |
HttpDestination.remove(Connection connection) |
protected Connection |
HttpClient.tunnel(Connection connection) |
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 |
---|---|
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 . |
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.