| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final InetAddress | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public String | host()
Implements io. Returns the host name when available or the IP address in string representation. |
| public String | hostAddress()
Implements io. Returns the host IP address when available or |
| public String | hostName()
Implements io. Returns the host name when available or |
| public InetAddress | |
| public boolean | |
| public boolean | |
| public String | |
| public int | |
| public String |
| host | back to summary |
|---|---|
| private final String host | |
| hostName | back to summary |
|---|---|
| private final String hostName | |
| ipAddress | back to summary |
|---|---|
| private final InetAddress ipAddress | |
| path | back to summary |
|---|---|
| private final String path | |
| port | back to summary |
|---|---|
| private final int port | |
| SocketAddressImpl | back to summary |
|---|---|
| public SocketAddressImpl(InetSocketAddress address) | |
| SocketAddressImpl | back to summary |
|---|---|
| public SocketAddressImpl(int port, String host) | |
| SocketAddressImpl | back to summary |
|---|---|
| public SocketAddressImpl(String path) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| host | back to summary |
|---|---|
| public String host() Implements io. Doc from io. Returns the host name when available or the IP address in string representation.
| |
| hostAddress | back to summary |
|---|---|
| public String hostAddress() Implements io. Doc from io. Returns the host IP address when available or | |
| hostName | back to summary |
|---|---|
| public String hostName() Implements io. Doc from io. Returns the host name when available or | |
| ipAddress | back to summary |
|---|---|
| public InetAddress ipAddress() | |
| isDomainSocket | back to summary |
|---|---|
| public boolean isDomainSocket() Implements io.
| |
| isInetSocket | back to summary |
|---|---|
| public boolean isInetSocket() Implements io.
| |
| path | back to summary |
|---|---|
| public String path() Implements io.
| |
| port | back to summary |
|---|---|
| public int port() Implements io.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |