|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResponseCode>
org.apache.directory.server.dns.messages.ResponseCode
public enum ResponseCode
Enum Constant Summary | |
---|---|
FORMAT_ERROR
The name server was unable to interpret the query. |
|
NAME_ERROR
The domain name referenced in the query does not exist. |
|
NO_ERROR
No error condition. |
|
NOT_IMPLEMENTED
The name server does not support the requested kind of query. |
|
REFUSED
The name server refuses to perform the specified operation for policy reasons. |
|
SERVER_FAILURE
The name server was unable to process this query due to a problem with the name server. |
Method Summary | |
---|---|
java.lang.Byte |
convert()
Convert the enum to another type. |
static ResponseCode |
convert(byte value)
Converts an ordinal value into a ResponseCode . |
static ResponseCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResponseCode NO_ERROR
public static final ResponseCode FORMAT_ERROR
public static final ResponseCode SERVER_FAILURE
public static final ResponseCode NAME_ERROR
public static final ResponseCode NOT_IMPLEMENTED
public static final ResponseCode REFUSED
Method Detail |
---|
public static final ResponseCode[] values()
for(ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode 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 namepublic java.lang.Byte convert()
EnumConverter
convert
in interface EnumConverter<java.lang.Byte>
public static ResponseCode convert(byte value)
ResponseCode
.
value
-
ResponseCode
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |