Package org.conscrypt
Class AddressUtils
java.lang.Object
org.conscrypt.AddressUtils
Utilities to check whether IP addresses meet some criteria.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleanisLiteralIpAddress(String hostname) Returns true if the supplied hostname is an literal IP address.(package private) static booleanisValidSniHostname(String sniHostname) Returns true when the supplied hostname is valid for SNI purposes.
-
Field Details
-
IP_PATTERN
- See Also:
-
ipPattern
-
-
Constructor Details
-
AddressUtils
private AddressUtils()
-
-
Method Details
-
isValidSniHostname
Returns true when the supplied hostname is valid for SNI purposes. -
isLiteralIpAddress
Returns true if the supplied hostname is an literal IP address.
-