Example usage for Java io.netty.util NetUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
Inet4Address | LOCALHOST4 The Inet4Address that represents the IPv4 loopback address '127.0.0.1' |
Inet6Address | LOCALHOST6 The Inet6Address that represents the IPv6 loopback address '::1' |
InetAddress | LOCALHOST The InetAddress that represents the loopback address. |
NetworkInterface | LOOPBACK_IF The loopback NetworkInterface of the current machine |
int | SOMAXCONN The SOMAXCONN value of the current machine. |
String | bytesToIpAddress(byte[] bytes, int offset, int length) Converts 4-byte or 16-byte data into an IPv4 or IPv6 string respectively. |
byte[] | createByteArrayFromIpAddressString(String ipAddressString) Creates an byte[] based on an ipAddressString. |
boolean | isIpV4StackPreferred() Returns true if IPv4 should be used even if the system supports both IPv4 and IPv6. |
boolean | isValidIpV4Address(CharSequence ip) Takes a CharSequence and parses it to see if it is a valid IPV4 address. |
boolean | isValidIpV4Address(String ip) Takes a String and parses it to see if it is a valid IPV4 address. |
boolean | isValidIpV6Address(String ip) |
boolean | isValidIpV6Address(CharSequence ip) |