Uses of Class
com.google.common.net.HostAndPort

Packages that use HostAndPort
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
static HostAndPort HostAndPort.fromParts(String host, int port)
          Build a HostAndPort instance from separate host and port values.
static HostAndPort HostAndPort.fromString(String hostPortString)
          Split a freeform string into a host and port, without strict validation.
 HostAndPort HostAndPort.requireBracketsForIPv6()
          Generate an error if the host might be a non-bracketed IPv6 literal.
 HostAndPort HostAndPort.withDefaultPort(int defaultPort)
          Provide a default port if the parsed string contained only a host.
 



Copyright © 2010-2011. All Rights Reserved.