public class AddressUtil extends AddressUtil
Constructor and Description |
---|
AddressUtil() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.net.HostAndPort |
parseAddress(String address,
boolean ignoreMissingPort) |
static com.google.common.net.HostAndPort |
parseAddress(String address,
int defaultPort) |
getAddressCacheNegativeTtl
public static com.google.common.net.HostAndPort parseAddress(String address, boolean ignoreMissingPort) throws NumberFormatException
NumberFormatException
public static com.google.common.net.HostAndPort parseAddress(String address, int defaultPort)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.