org.apache.http.conn
Class HttpInetSocketAddress
java.lang.Object
java.net.SocketAddress
java.net.InetSocketAddress
org.apache.http.conn.HttpInetSocketAddress
- All Implemented Interfaces:
- Serializable
public class HttpInetSocketAddress
- extends InetSocketAddress
Extended InetSocketAddress
implementation that also provides access to the original
HttpHost
used to resolve the address.
- Since:
- 4.2
- See Also:
- Serialized Form
HttpInetSocketAddress
public HttpInetSocketAddress(HttpHost httphost,
InetAddress addr,
int port)
getHttpHost
public HttpHost getHttpHost()
toString
public String toString()
- Overrides:
toString
in class InetSocketAddress
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.