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