Uses of Class
com.google.common.net.HostAndPort
-
Packages that use HostAndPort Package Description com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names). -
-
Uses of HostAndPort in com.google.common.net
Methods in com.google.common.net that return HostAndPort Modifier and Type Method Description static HostAndPortHostAndPort. fromHost(String host)Build a HostAndPort instance from a host only.static HostAndPortHostAndPort. fromParts(String host, int port)Build a HostAndPort instance from separate host and port values.static HostAndPortHostAndPort. fromString(String hostPortString)Split a freeform string into a host and port, without strict validation.HostAndPortHostAndPort. requireBracketsForIPv6()Generate an error if the host might be a non-bracketed IPv6 literal.HostAndPortHostAndPort. withDefaultPort(int defaultPort)Provide a default port if the parsed string contained only a host.
-