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.stomp;
18  
19  import io.netty.handler.codec.DefaultTextHeaders;
20  import io.netty.handler.codec.TextHeaders;
21  
22  public class DefaultStompHeaders extends DefaultTextHeaders implements StompHeaders {
23  
24      @Override
25      public StompHeaders add(CharSequence name, CharSequence value) {
26          super.add(name, value);
27          return this;
28      }
29  
30      @Override
31      public StompHeaders add(CharSequence name, Iterable<? extends CharSequence> values) {
32          super.add(name, values);
33          return this;
34      }
35  
36      @Override
37      public StompHeaders add(CharSequence name, CharSequence... values) {
38          super.add(name, values);
39          return this;
40      }
41  
42      @Override
43      public StompHeaders addObject(CharSequence name, Object value) {
44          super.addObject(name, value);
45          return this;
46      }
47  
48      @Override
49      public StompHeaders addObject(CharSequence name, Iterable<?> values) {
50          super.addObject(name, values);
51          return this;
52      }
53  
54      @Override
55      public StompHeaders addObject(CharSequence name, Object... values) {
56          super.addObject(name, values);
57          return this;
58      }
59  
60      @Override
61      public StompHeaders addBoolean(CharSequence name, boolean value) {
62          super.addBoolean(name, value);
63          return this;
64      }
65  
66      @Override
67      public StompHeaders addChar(CharSequence name, char value) {
68          super.addChar(name, value);
69          return this;
70      }
71  
72      @Override
73      public StompHeaders addByte(CharSequence name, byte value) {
74          super.addByte(name, value);
75          return this;
76      }
77  
78      @Override
79      public StompHeaders addShort(CharSequence name, short value) {
80          super.addShort(name, value);
81          return this;
82      }
83  
84      @Override
85      public StompHeaders addInt(CharSequence name, int value) {
86          super.addInt(name, value);
87          return this;
88      }
89  
90      @Override
91      public StompHeaders addLong(CharSequence name, long value) {
92          super.addLong(name, value);
93          return this;
94      }
95  
96      @Override
97      public StompHeaders addFloat(CharSequence name, float value) {
98          super.addFloat(name, value);
99          return this;
100     }
101 
102     @Override
103     public StompHeaders addDouble(CharSequence name, double value) {
104         super.addDouble(name, value);
105         return this;
106     }
107 
108     @Override
109     public StompHeaders addTimeMillis(CharSequence name, long value) {
110         super.addTimeMillis(name, value);
111         return this;
112     }
113 
114     @Override
115     public StompHeaders add(TextHeaders headers) {
116         super.add(headers);
117         return this;
118     }
119 
120     @Override
121     public StompHeaders set(CharSequence name, CharSequence value) {
122         super.set(name, value);
123         return this;
124     }
125 
126     @Override
127     public StompHeaders set(CharSequence name, Iterable<? extends CharSequence> values) {
128         super.set(name, values);
129         return this;
130     }
131 
132     @Override
133     public StompHeaders set(CharSequence name, CharSequence... values) {
134         super.set(name, values);
135         return this;
136     }
137 
138     @Override
139     public StompHeaders setObject(CharSequence name, Object value) {
140         super.setObject(name, value);
141         return this;
142     }
143 
144     @Override
145     public StompHeaders setObject(CharSequence name, Iterable<?> values) {
146         super.setObject(name, values);
147         return this;
148     }
149 
150     @Override
151     public StompHeaders setObject(CharSequence name, Object... values) {
152         super.setObject(name, values);
153         return this;
154     }
155 
156     @Override
157     public StompHeaders setBoolean(CharSequence name, boolean value) {
158         super.setBoolean(name, value);
159         return this;
160     }
161 
162     @Override
163     public StompHeaders setChar(CharSequence name, char value) {
164         super.setChar(name, value);
165         return this;
166     }
167 
168     @Override
169     public StompHeaders setByte(CharSequence name, byte value) {
170         super.setByte(name, value);
171         return this;
172     }
173 
174     @Override
175     public StompHeaders setShort(CharSequence name, short value) {
176         super.setShort(name, value);
177         return this;
178     }
179 
180     @Override
181     public StompHeaders setInt(CharSequence name, int value) {
182         super.setInt(name, value);
183         return this;
184     }
185 
186     @Override
187     public StompHeaders setLong(CharSequence name, long value) {
188         super.setLong(name, value);
189         return this;
190     }
191 
192     @Override
193     public StompHeaders setFloat(CharSequence name, float value) {
194         super.setFloat(name, value);
195         return this;
196     }
197 
198     @Override
199     public StompHeaders setDouble(CharSequence name, double value) {
200         super.setDouble(name, value);
201         return this;
202     }
203 
204     @Override
205     public StompHeaders setTimeMillis(CharSequence name, long value) {
206         super.setTimeMillis(name, value);
207         return this;
208     }
209 
210     @Override
211     public StompHeaders set(TextHeaders headers) {
212         super.set(headers);
213         return this;
214     }
215 
216     @Override
217     public StompHeaders setAll(TextHeaders headers) {
218         super.setAll(headers);
219         return this;
220     }
221 
222     @Override
223     public StompHeaders clear() {
224         super.clear();
225         return this;
226     }
227 }