1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.handler.codec.dns;
17
18
19
20
21 public class DefaultDnsQuery extends AbstractDnsMessage implements DnsQuery {
22
23
24
25
26
27
28 public DefaultDnsQuery(int id) {
29 super(id);
30 }
31
32
33
34
35
36
37
38 public DefaultDnsQuery(int id, DnsOpCode opCode) {
39 super(id, opCode);
40 }
41
42 @Override
43 public DnsQuery setId(int id) {
44 return (DnsQuery) super.setId(id);
45 }
46
47 @Override
48 public DnsQuery setOpCode(DnsOpCode opCode) {
49 return (DnsQuery) super.setOpCode(opCode);
50 }
51
52 @Override
53 public DnsQuery setRecursionDesired(boolean recursionDesired) {
54 return (DnsQuery) super.setRecursionDesired(recursionDesired);
55 }
56
57 @Override
58 public DnsQuery setZ(int z) {
59 return (DnsQuery) super.setZ(z);
60 }
61
62 @Override
63 public DnsQuery setRecord(DnsSection section, DnsRecord record) {
64 return (DnsQuery) super.setRecord(section, record);
65 }
66
67 @Override
68 public DnsQuery addRecord(DnsSection section, DnsRecord record) {
69 return (DnsQuery) super.addRecord(section, record);
70 }
71
72 @Override
73 public DnsQuery addRecord(DnsSection section, int index, DnsRecord record) {
74 return (DnsQuery) super.addRecord(section, index, record);
75 }
76
77 @Override
78 public DnsQuery clear(DnsSection section) {
79 return (DnsQuery) super.clear(section);
80 }
81
82 @Override
83 public DnsQuery clear() {
84 return (DnsQuery) super.clear();
85 }
86
87 @Override
88 public DnsQuery touch() {
89 return (DnsQuery) super.touch();
90 }
91
92 @Override
93 public DnsQuery touch(Object hint) {
94 return (DnsQuery) super.touch(hint);
95 }
96
97 @Override
98 public DnsQuery retain() {
99 return (DnsQuery) super.retain();
100 }
101
102 @Override
103 public DnsQuery retain(int increment) {
104 return (DnsQuery) super.retain(increment);
105 }
106
107 @Override
108 public String toString() {
109 return DnsMessageUtil.appendQuery(new StringBuilder(128), this).toString();
110 }
111 }