MCPcopy Create free account
hub / github.com/antlr/codebuff / getHostText

Method getHostText

corpus/java/training/guava/net/HostAndPort.java:92–94  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

90 * validation, see the {@link HostSpecifier} class.
91 */
92 public String getHostText() {
93 return host;
94 }
95
96 /** Return true if this instance has a defined port. */
97 public boolean hasPort() {

Callers 1

fromValidMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected