enum SetResponseType extends java.lang.Enum<SetResponseType>
Enum Constant and Description |
---|
CNAME
The Cache/Zone found a CNAME when looking for the name.
|
DELEGATION
A delegation enclosing the requested name was found.
|
DNAME
The Cache/Zone found a DNAME when looking for the name.
|
NXDOMAIN
The Zone does not contain the requested name, or the Cache has determined that the name does
not exist.
|
NXRRSET
The Zone contains the name, but no data of the requested type, or the Cache has determined that
the name exists and has no data of the requested type.
|
SUCCESSFUL
The Cache/Zone has successfully answered the question for the requested name/type/class.
|
UNKNOWN
The Cache contains no information about the requested name/type
|
Modifier and Type | Field and Description |
---|---|
private boolean |
isSealed
If true, no RRsets can be added.
|
private boolean |
printRecords |
Modifier and Type | Method and Description |
---|---|
static SetResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SetResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetResponseType UNKNOWN
public static final SetResponseType NXDOMAIN
public static final SetResponseType NXRRSET
public static final SetResponseType DELEGATION
public static final SetResponseType CNAME
CNAMERecord
public static final SetResponseType DNAME
DNAMERecord
public static final SetResponseType SUCCESSFUL
private final boolean printRecords
private final boolean isSealed
public static SetResponseType[] values()
for (SetResponseType c : SetResponseType.values()) System.out.println(c);
public static SetResponseType 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