| |
|
| java.lang.Object org.xbill.DNS.Flags
Flags | final public class Flags (Code) | | Constants and functions relating to flags in the DNS header.
author: Brian Wellington |
Field Summary | |
final public static byte | AA | final public static byte | AD | final public static byte | CD | final public static int | DO | final public static byte | QR | final public static byte | RA | final public static byte | RD | final public static byte | TC |
Method Summary | |
public static boolean | isFlag(int index) Indicates if a bit in the flags field is a flag or not. | public static String | string(int i) | public static int | value(String s) |
AA | final public static byte AA(Code) | | authoritative answer
|
AD | final public static byte AD(Code) | | authenticated data
|
CD | final public static byte CD(Code) | | (security) checking disabled
|
DO | final public static int DO(Code) | | dnssec ok (extended)
|
QR | final public static byte QR(Code) | | query/response
|
RA | final public static byte RA(Code) | | recursion available
|
RD | final public static byte RD(Code) | | recursion desired
|
TC | final public static byte TC(Code) | | truncated
|
isFlag | public static boolean isFlag(int index)(Code) | | Indicates if a bit in the flags field is a flag or not. If it's part of
the rcode or opcode, it's not.
|
string | public static String string(int i)(Code) | | Converts a numeric Flag into a String
|
value | public static int value(String s)(Code) | | Converts a String representation of an Flag into its numeric value
|
|
|
|