java.net.URI .
| Modifier and Type | Field and Description |
|---|---|
| private final Host | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | URIAuthority(final String userInfo, final String hostname, final int port)
Constructs a new instance. |
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static URIAuthority | |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. |
| pack-priv static void | |
| pack-priv static String | |
| public String | getHostName()
Implements org. |
| public int | |
| public String | |
| public int | |
| pack-priv static URIAuthority | |
| pack-priv static URIAuthority | |
| public String |
| host | back to summary |
|---|---|
| private final Host host | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| userInfo | back to summary |
|---|---|
| private final String userInfo | |
| URIAuthority | back to summary |
|---|---|
| public URIAuthority(final String userInfo, final String hostname, final int port) Constructs a new instance.
| |
| URIAuthority | back to summary |
|---|---|
| public URIAuthority(final String hostname, final int port) | |
| URIAuthority | back to summary |
|---|---|
public URIAuthority(final String userInfo, final Host host)
| |
| URIAuthority | back to summary |
|---|---|
public URIAuthority(final Host host)
| |
| URIAuthority | back to summary |
|---|---|
public URIAuthority(final String userInfo, final NamedEndpoint endpoint)
| |
| URIAuthority | back to summary |
|---|---|
| public URIAuthority(final NamedEndpoint namedEndpoint) | |
| URIAuthority | back to summary |
|---|---|
| public URIAuthority(final String hostname) | |
| create | back to summary |
|---|---|
| public static URIAuthority create(final String s) throws URISyntaxException Creates a | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) 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 URIAuthority uriAuthority) | |
| format | back to summary |
|---|---|
| pack-priv static String format(final URIAuthority uriAuthority) | |
| 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.
| |
| getUserInfo | back to summary |
|---|---|
| public String getUserInfo() | |
| 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 URIAuthority parse(final CharSequence s, final Tokenizer. | |
| parse | back to summary |
|---|---|
| pack-priv static URIAuthority 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. | |