Uses of Class
dev.mccue.guava.net.HostAndPort
-
Uses of HostAndPort in dev.mccue.guava.net
Methods in dev.mccue.guava.net that return HostAndPortModifier and TypeMethodDescriptionstatic HostAndPortBuild a HostAndPort instance from a host only.static HostAndPortBuild 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.HostAndPort.requireBracketsForIPv6()Generate an error if the host might be a non-bracketed IPv6 literal.HostAndPort.withDefaultPort(int defaultPort) Provide a default port if the parsed string contained only a host.