public class HttpInetSocketAddress extends InetSocketAddress
InetSocketAddress implementation that also provides access to the original
HttpHost used to resolve the address.| Constructor and Description |
|---|
HttpInetSocketAddress(HttpHost httphost,
InetAddress addr,
int port) |
| Modifier and Type | Method and Description |
|---|---|
HttpHost |
getHttpHost() |
String |
toString() |
createUnresolved, equals, getAddress, getHostName, getHostString, getPort, hashCode, isUnresolvedpublic HttpInetSocketAddress(HttpHost httphost, InetAddress addr, int port)
public HttpHost getHttpHost()
public String toString()
toString in class InetSocketAddressCopyright © 1999–2013 The Apache Software Foundation. All rights reserved.