| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final int | |
| private static final long |
| Modifier and Type | Method and Description |
|---|---|
| public static Host | |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static String | |
| public String | getHostName()
Implements org. |
| public int | |
| public int | |
| pack-priv static Host | |
| pack-priv static Host | |
| public String |
| lcName | back to summary |
|---|---|
| private final String lcName | |
| name | back to summary |
|---|---|
| private final String name | |
| port | back to summary |
|---|---|
| private final int port | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Host | back to summary |
|---|---|
| public Host(final String name, final int port) | |
| create | back to summary |
|---|---|
| public static Host create(final String s) throws URISyntaxException | |
| equals | back to summary |
|---|---|
| public boolean equals(final 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. | |
| format | back to summary |
|---|---|
| pack-priv static void format(final StringBuilder buf, final NamedEndpoint endpoint) | |
| format | back to summary |
|---|---|
| pack-priv static void format(final StringBuilder buf, final Host host) | |
| format | back to summary |
|---|---|
| pack-priv static String format(final Host host) | |
| getHostName | back to summary |
|---|---|
| public String getHostName() Implements org. Doc from org. Returns name (IP or DNS name). | |
| getPort | back to summary |
|---|---|
| public int getPort() Implements org. Doc from org. Returns the port.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| pack-priv static Host parse(final CharSequence s, final Tokenizer. | |
| parse | back to summary |
|---|---|
| pack-priv static Host parse(final CharSequence s) throws URISyntaxException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |