View Javadoc
1   /*
2    * Copyright 2014 The Netty Project
3    *
4    * The Netty Project licenses this file to you under the Apache License,
5    * version 2.0 (the "License"); you may not use this file except in compliance
6    * with the License. You may obtain a copy of the License at:
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13   * License for the specific language governing permissions and limitations
14   * under the License.
15   */
16  
17  package io.netty.handler.codec;
18  
19  public class EmptyBinaryHeaders extends EmptyHeaders<AsciiString> implements BinaryHeaders {
20      protected EmptyBinaryHeaders() {
21      }
22  
23      @Override
24      public BinaryHeaders add(AsciiString name, AsciiString value) {
25          super.add(name, value);
26          return this;
27      }
28  
29      @Override
30      public BinaryHeaders add(AsciiString name, Iterable<? extends AsciiString> values) {
31          super.add(name, values);
32          return this;
33      }
34  
35      @Override
36      public BinaryHeaders add(AsciiString name, AsciiString... values) {
37          super.add(name, values);
38          return this;
39      }
40  
41      @Override
42      public BinaryHeaders addObject(AsciiString name, Object value) {
43          super.addObject(name, value);
44          return this;
45      }
46  
47      @Override
48      public BinaryHeaders addObject(AsciiString name, Iterable<?> values) {
49          super.addObject(name, values);
50          return this;
51      }
52  
53      @Override
54      public BinaryHeaders addObject(AsciiString name, Object... values) {
55          super.addObject(name, values);
56          return this;
57      }
58  
59      @Override
60      public BinaryHeaders addBoolean(AsciiString name, boolean value) {
61          super.addBoolean(name, value);
62          return this;
63      }
64  
65      @Override
66      public BinaryHeaders addChar(AsciiString name, char value) {
67          super.addChar(name, value);
68          return this;
69      }
70  
71      @Override
72      public BinaryHeaders addByte(AsciiString name, byte value) {
73          super.addByte(name, value);
74          return this;
75      }
76  
77      @Override
78      public BinaryHeaders addShort(AsciiString name, short value) {
79          super.addShort(name, value);
80          return this;
81      }
82  
83      @Override
84      public BinaryHeaders addInt(AsciiString name, int value) {
85          super.addInt(name, value);
86          return this;
87      }
88  
89      @Override
90      public BinaryHeaders addLong(AsciiString name, long value) {
91          super.addLong(name, value);
92          return this;
93      }
94  
95      @Override
96      public BinaryHeaders addFloat(AsciiString name, float value) {
97          super.addFloat(name, value);
98          return this;
99      }
100 
101     @Override
102     public BinaryHeaders addDouble(AsciiString name, double value) {
103         super.addDouble(name, value);
104         return this;
105     }
106 
107     @Override
108     public BinaryHeaders addTimeMillis(AsciiString name, long value) {
109         super.addTimeMillis(name, value);
110         return this;
111     }
112 
113     @Override
114     public BinaryHeaders add(BinaryHeaders headers) {
115         super.add(headers);
116         return this;
117     }
118 
119     @Override
120     public BinaryHeaders set(AsciiString name, AsciiString value) {
121         super.set(name, value);
122         return this;
123     }
124 
125     @Override
126     public BinaryHeaders set(AsciiString name, Iterable<? extends AsciiString> values) {
127         super.set(name, values);
128         return this;
129     }
130 
131     @Override
132     public BinaryHeaders set(AsciiString name, AsciiString... values) {
133         super.set(name, values);
134         return this;
135     }
136 
137     @Override
138     public BinaryHeaders setObject(AsciiString name, Object value) {
139         super.setObject(name, value);
140         return this;
141     }
142 
143     @Override
144     public BinaryHeaders setObject(AsciiString name, Iterable<?> values) {
145         super.setObject(name, values);
146         return this;
147     }
148 
149     @Override
150     public BinaryHeaders setObject(AsciiString name, Object... values) {
151         super.setObject(name, values);
152         return this;
153     }
154 
155     @Override
156     public BinaryHeaders setBoolean(AsciiString name, boolean value) {
157         super.setBoolean(name, value);
158         return this;
159     }
160 
161     @Override
162     public BinaryHeaders setChar(AsciiString name, char value) {
163         super.setChar(name, value);
164         return this;
165     }
166 
167     @Override
168     public BinaryHeaders setByte(AsciiString name, byte value) {
169         super.setByte(name, value);
170         return this;
171     }
172 
173     @Override
174     public BinaryHeaders setShort(AsciiString name, short value) {
175         super.setShort(name, value);
176         return this;
177     }
178 
179     @Override
180     public BinaryHeaders setInt(AsciiString name, int value) {
181         super.setInt(name, value);
182         return this;
183     }
184 
185     @Override
186     public BinaryHeaders setLong(AsciiString name, long value) {
187         super.setLong(name, value);
188         return this;
189     }
190 
191     @Override
192     public BinaryHeaders setFloat(AsciiString name, float value) {
193         super.setFloat(name, value);
194         return this;
195     }
196 
197     @Override
198     public BinaryHeaders setDouble(AsciiString name, double value) {
199         super.setDouble(name, value);
200         return this;
201     }
202 
203     @Override
204     public BinaryHeaders setTimeMillis(AsciiString name, long value) {
205         super.setTimeMillis(name, value);
206         return this;
207     }
208 
209     @Override
210     public BinaryHeaders set(BinaryHeaders headers) {
211         super.set(headers);
212         return this;
213     }
214 
215     @Override
216     public BinaryHeaders setAll(BinaryHeaders headers) {
217         super.setAll(headers);
218         return this;
219     }
220 
221     @Override
222     public BinaryHeaders clear() {
223         super.clear();
224         return this;
225     }
226 }