Package org.jitsi.dnssec.validator
Enum Class ResponseClassification
- All Implemented Interfaces:
Serializable
,Comparable<ResponseClassification>
,Constable
These are response subtypes. They are necessary for determining the
validation strategy. They have no bearing on the iterative resolution
algorithm, so they are confined here.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA response to a qtype=ANY query.A postive response, with a CNAME/DNAME chain.A response with CNAMES that points into the void.A response with CNAMES that points to a non-existing type.A NXDOMAIN response.A NOERROR/NODATA response.A postive, direct, response.Not a recognized subtype. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseClassification
Returns the enum constant of this class with the specified name.static ResponseClassification[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Not a recognized subtype. -
POSITIVE
A postive, direct, response. -
CNAME
A postive response, with a CNAME/DNAME chain. -
NODATA
A NOERROR/NODATA response. -
NAMEERROR
A NXDOMAIN response. -
ANY
A response to a qtype=ANY query. -
CNAME_NODATA
A response with CNAMES that points to a non-existing type. -
CNAME_NAMEERROR
A response with CNAMES that points into the void.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-