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

Method getHostText

output/java_guava/1.4.19/HostAndPort.java:93–95  ·  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

91
92
93 public String getHostText() {
94 return host;
95 }
96
97 /** Return true if this instance has a defined port. */
98

Callers 1

fromValidMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected