public interface Destination
Destination
represents the triple made of the getScheme()
, the getHost()
and the getPort()
.
Destination
holds a pool of Connection
s, but allows to create unpooled
connections if the application wants full control over connection management via newConnection()
.
Destination
s 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()
Connection
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.