Home | History | Annotate | Download | only in DNS

Lines Matching refs:Header

9  * A DNS message header
15 public class Header implements Cloneable {
23 /** The length of a DNS Header in wire format. */
34 * Create a new empty header.
38 Header(int id) {
44 * Create a new empty header with a random message id
47 Header() {
52 * Parses a Header from a stream containing DNS wire format.
54 Header(DNSInput in) throws IOException {
62 * Creates a new Header from its DNS wire format representation
63 * @param b A byte array containing the DNS Header.
66 Header(byte [] b) throws IOException {
240 /** Converts the header's flags into a String */
257 sb.append(";; ->>HEADER<<- ");
270 /** Converts the header into a String */
276 /* Creates a new Header identical to the current one */
279 Header h = new Header();