public static enum DnsQueryResult.QueryMethod extends java.lang.Enum<DnsQueryResult.QueryMethod>
| Enum Constant and Description |
|---|
asyncTcp |
asyncUdp |
cachedDirect |
cachedSynthesized |
tcp |
testWorld |
udp |
| Modifier and Type | Method and Description |
|---|---|
static DnsQueryResult.QueryMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DnsQueryResult.QueryMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DnsQueryResult.QueryMethod udp
public static final DnsQueryResult.QueryMethod tcp
public static final DnsQueryResult.QueryMethod asyncUdp
public static final DnsQueryResult.QueryMethod asyncTcp
public static final DnsQueryResult.QueryMethod cachedDirect
public static final DnsQueryResult.QueryMethod cachedSynthesized
public static final DnsQueryResult.QueryMethod testWorld
public static DnsQueryResult.QueryMethod[] values()
for (DnsQueryResult.QueryMethod c : DnsQueryResult.QueryMethod.values()) System.out.println(c);
public static DnsQueryResult.QueryMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null