public interface Destination
Destination represents the triple made of the scheme(), the host()
and the port().
Destination holds a pool of Connections, but allows to create unpooled
connections if the application wants full control over connection management via newConnection().
Destinations may be obtained via HttpClient.getDestination(String, String, int)| Modifier and Type | Method and Description |
|---|---|
String |
host() |
Future<Connection> |
newConnection() |
int |
port() |
String |
scheme() |
String scheme()
String host()
int port()
Future<Connection> newConnection()
ConnectionCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.