Uses of Class
com.google.common.net.HostAndPort
-
Packages that use HostAndPort Package Description com.google.common.net Utility methods and classes for networking (such as IP addresses 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(java.lang.String host)Build a HostAndPort instance from a host only.static HostAndPortHostAndPort. fromParts(java.lang.String host, int port)Build a HostAndPort instance from separate host and port values.static HostAndPortHostAndPort. fromString(java.lang.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.
-