public final class AddressUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isLiteralIpAddress(String hostname)
Returns true if the supplied hostname is an literal IP address.
|
static boolean |
isValidSniHostname(String sniHostname)
Returns true when the supplied hostname is valid for SNI purposes.
|
public static boolean isValidSniHostname(String sniHostname)
public static boolean isLiteralIpAddress(String hostname)