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 | Class and Description |
---|---|
class |
MultiplexHttpDestination<C extends Connection> |
class |
PoolingHttpDestination<C extends Connection> |
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionPool.acquire() |
Modifier and Type | Method and Description |
---|---|
BlockingQueue<Connection> |
ConnectionPool.getActiveConnections() |
BlockingQueue<Connection> |
ConnectionPool.getIdleConnections() |
Modifier and Type | Method and Description |
---|---|
protected void |
LeakTrackingConnectionPool.acquired(Connection connection) |
protected void |
ConnectionPool.acquired(Connection connection) |
void |
PoolingHttpDestination.close(Connection oldConnection) |
void |
MultiplexHttpDestination.close(Connection connection) |
void |
HttpDestination.close(Connection connection) |
boolean |
ConnectionPool.isActive(Connection connection) |
boolean |
ConnectionPool.isIdle(Connection connection) |
void |
PoolingHttpDestination.release(Connection c) |
void |
HttpDestination.release(Connection connection) |
boolean |
ConnectionPool.release(Connection connection) |
protected void |
LeakTrackingConnectionPool.released(Connection connection) |
protected void |
ConnectionPool.released(Connection connection) |
boolean |
ConnectionPool.remove(Connection connection) |
void |
PoolingHttpDestination.succeeded(Connection connection) |
void |
MultiplexHttpDestination.succeeded(Connection result) |
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) |
Constructor and Description |
---|
ConnectionPool(Destination destination,
int maxConnections,
Promise<Connection> connectionPromise) |
LeakTrackingConnectionPool(Destination destination,
int maxConnections,
Promise<Connection> connectionPromise) |
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-2015 Webtide. All Rights Reserved.