public final class Flags extends Object
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
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
public static String string(int i)
public static int value(String s)
public static boolean isFlag(int index)
Copyright © 2020 dnsjava.org. All rights reserved.