public interface Destination
Destination represents the triple made of the getScheme(), the getHost()
and the getPort().
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 |
getHost() |
int |
getPort() |
String |
getScheme() |
Future<Connection> |
newConnection() |
String getScheme()
String getHost()
int getPort()
Future<Connection> newConnection()
ConnectionCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.