public static enum TransportUtil.IPv6Config extends Enum<TransportUtil.IPv6Config>
| Enum Constant and Description |
|---|
IPV6_DISABLEDIPv6 disabled |
IPV6_ENABLEDequal priority to IPv4 |
IPV6_NOT_PREFERREDlower priority than IPv4 |
IPV6_ONLYIPv4 disabled |
IPV6_PREFERREDhigher priority than IPv4 |
| Modifier and Type | Method and Description |
|---|---|
String | toConfigString()toConfigString. |
static TransportUtil.IPv6Config | valueOf(String name)Returns the enum constant of this type with the specified name. |
static TransportUtil.IPv6Config[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final TransportUtil.IPv6Config IPV6_DISABLED
public static final TransportUtil.IPv6Config IPV6_ENABLED
public static final TransportUtil.IPv6Config IPV6_NOT_PREFERRED
public static final TransportUtil.IPv6Config IPV6_ONLY
public static final TransportUtil.IPv6Config IPV6_PREFERRED
public String toConfigString()
public static TransportUtil.IPv6Config valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TransportUtil.IPv6Config[] values()
for (TransportUtil.IPv6Config c : TransportUtil.IPv6Config.values()) System.out.println(c);