|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Flags
public final class Flags
Constants and functions relating to flags in the DNS header.
Field Summary | |
---|---|
static byte |
AA
authoritative answer |
static byte |
AD
authenticated data |
static byte |
CD
(security) checking disabled |
static int |
DO
dnssec ok (extended) |
static byte |
QR
query/response |
static byte |
RA
recursion available |
static byte |
RD
recursion desired |
static byte |
TC
truncated |
Method Summary | |
---|---|
static boolean |
isFlag(int index)
Indicates if a bit in the flags field is a flag or not. |
static String |
string(int i)
Converts a numeric Flag into a String |
static int |
value(String s)
Converts a String representation of an Flag into its numeric value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte QR
public static final byte AA
public static final byte TC
public static final byte RD
public static final byte RA
public static final byte AD
public static final byte CD
public static final int DO
Method Detail |
---|
public static String string(int i)
public static int value(String s)
public static boolean isFlag(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |