public enum ResponseClassification extends Enum<ResponseClassification>
Enum Constant and Description |
---|
ANY
A response to a qtype=ANY query.
|
CNAME
A postive response, with a CNAME/DNAME chain.
|
CNAME_NAMEERROR
A response with CNAMES that points into the void.
|
CNAME_NODATA
A response with CNAMES that points to a non-existing type.
|
NAMEERROR
A NXDOMAIN response.
|
NODATA
A NOERROR/NODATA response.
|
POSITIVE
A postive, direct, response.
|
UNKNOWN
Not a recognized subtype.
|
Modifier and Type | Method and Description |
---|---|
static ResponseClassification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseClassification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseClassification UNKNOWN
public static final ResponseClassification POSITIVE
public static final ResponseClassification CNAME
public static final ResponseClassification NODATA
public static final ResponseClassification NAMEERROR
public static final ResponseClassification ANY
public static final ResponseClassification CNAME_NODATA
public static final ResponseClassification CNAME_NAMEERROR
public static ResponseClassification[] values()
for (ResponseClassification c : ResponseClassification.values()) System.out.println(c);
public static ResponseClassification 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 nullCopyright © 2016 jitsi.org. All rights reserved.