Returns the portion of this HostAndPort instance that should represent the hostname or IPv4/IPv6 literal. A successful parse does not imply any degree of sanity in this field. For additional validation, see the HostSpecifier class.
()
| 91 | |
| 92 | |
| 93 | public String getHostText() { |
| 94 | return host; |
| 95 | } |
| 96 | |
| 97 | /** Return true if this instance has a defined port. */ |
| 98 |