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