Deprecated
(4.3)
InetSocketAddress implementation that also provides access to the original
HttpHost used to resolve the address.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpHost | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpHost | |
| public String | toString()
Overrides java. |
| httphost | back to summary |
|---|---|
| private final HttpHost httphost | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HttpInetSocketAddress | back to summary |
|---|---|
| public HttpInetSocketAddress(final HttpHost httphost, final InetAddress addr, final int port) | |
| getHttpHost | back to summary |
|---|---|
| public HttpHost getHttpHost() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Constructs a string representation of this InetSocketAddress.
This string is constructed by calling
If the address is an IPv6 address, the IPv6 literal is enclosed in
square brackets, for example:
To retrieve a string representation of the hostname or the address, use
| |