|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.antiaction.dns.DNSResponseCode
DNS Response Code, defines various response constants. As defined in rfc1035.
| Field Summary | |
static int |
FORMATERROR
Format error - The name server was unable to interpret the query. |
static int |
NAMEERROR
Name error - Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist. |
static int |
NOERROR
No error condiction. |
static int |
NOTIMPLEMENTED
Not implemented - The name server does not support the requested kind of query. |
static int |
REFUSED
Refused - The name server refuses to perform the specified operation for a policy reason. |
static int |
SERVERFAILURE
Server failure - The name server was unable to process this query due to a problem with the name server. |
| Method Summary | |
static java.lang.String |
toString(int i)
Given a response code returns a string representation. |
static boolean |
validResponseCode(int i)
Given a response code returns a boolean indicating validity. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NOERROR
public static final int FORMATERROR
public static final int SERVERFAILURE
public static final int NAMEERROR
public static final int NOTIMPLEMENTED
public static final int REFUSED
| Method Detail |
public static boolean validResponseCode(int i)
i - response code.toString(int)public static java.lang.String toString(int i)
i - response code.validResponseCode(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||