Package | Description |
---|---|
org.eclipse.jetty.client |
This package provides APIs, utility classes and implementation class of an asynchronous HTTP client
The core class is
HttpClient , which acts as a central configuration object (for example
for idle timeouts , max connections per domain , etc.) and as a factory for Request objects. |
org.eclipse.jetty.client.api |
Modifier and Type | Method and Description |
---|---|
protected Connection |
HttpDestination.acquire() |
Modifier and Type | Method and Description |
---|---|
protected BlockingQueue<Connection> |
HttpDestination.getActiveConnections() |
protected BlockingQueue<Connection> |
HttpDestination.getIdleConnections() |
Future<Connection> |
HttpDestination.newConnection() |
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpDestination.newConnection(Callback<Connection> callback) |
protected void |
HttpClient.newConnection(HttpDestination destination,
Callback<Connection> callback) |
Modifier and Type | Method and Description |
---|---|
Future<Connection> |
Destination.newConnection() |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.