1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package io.netty5.handler.codec.http;
18
19 import io.netty5.util.AsciiString;
20
21
22
23
24
25
26
27 public final class HttpHeaderNames {
28
29
30
31 public static final AsciiString ACCEPT = AsciiString.cached("accept");
32
33
34
35 public static final AsciiString ACCEPT_CHARSET = AsciiString.cached("accept-charset");
36
37
38
39 public static final AsciiString ACCEPT_ENCODING = AsciiString.cached("accept-encoding");
40
41
42
43 public static final AsciiString ACCEPT_LANGUAGE = AsciiString.cached("accept-language");
44
45
46
47 public static final AsciiString ACCEPT_RANGES = AsciiString.cached("accept-ranges");
48
49
50
51 public static final AsciiString ACCEPT_PATCH = AsciiString.cached("accept-patch");
52
53
54
55 public static final AsciiString ACCESS_CONTROL_ALLOW_CREDENTIALS =
56 AsciiString.cached("access-control-allow-credentials");
57
58
59
60 public static final AsciiString ACCESS_CONTROL_ALLOW_HEADERS =
61 AsciiString.cached("access-control-allow-headers");
62
63
64
65 public static final AsciiString ACCESS_CONTROL_ALLOW_METHODS =
66 AsciiString.cached("access-control-allow-methods");
67
68
69
70 public static final AsciiString ACCESS_CONTROL_ALLOW_ORIGIN =
71 AsciiString.cached("access-control-allow-origin");
72
73
74
75 public static final AsciiString ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK =
76 AsciiString.cached("access-control-allow-private-network");
77
78
79
80 public static final AsciiString ACCESS_CONTROL_EXPOSE_HEADERS =
81 AsciiString.cached("access-control-expose-headers");
82
83
84
85 public static final AsciiString ACCESS_CONTROL_MAX_AGE = AsciiString.cached("access-control-max-age");
86
87
88
89 public static final AsciiString ACCESS_CONTROL_REQUEST_HEADERS =
90 AsciiString.cached("access-control-request-headers");
91
92
93
94 public static final AsciiString ACCESS_CONTROL_REQUEST_METHOD =
95 AsciiString.cached("access-control-request-method");
96
97
98
99 public static final AsciiString ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK =
100 AsciiString.cached("access-control-request-private-network");
101
102
103
104 public static final AsciiString AGE = AsciiString.cached("age");
105
106
107
108 public static final AsciiString ALLOW = AsciiString.cached("allow");
109
110
111
112 public static final AsciiString AUTHORIZATION = AsciiString.cached("authorization");
113
114
115
116 public static final AsciiString CACHE_CONTROL = AsciiString.cached("cache-control");
117
118
119
120 public static final AsciiString CONNECTION = AsciiString.cached("connection");
121
122
123
124 public static final AsciiString CONTENT_BASE = AsciiString.cached("content-base");
125
126
127
128 public static final AsciiString CONTENT_ENCODING = AsciiString.cached("content-encoding");
129
130
131
132 public static final AsciiString CONTENT_LANGUAGE = AsciiString.cached("content-language");
133
134
135
136 public static final AsciiString CONTENT_LENGTH = AsciiString.cached("content-length");
137
138
139
140 public static final AsciiString CONTENT_LOCATION = AsciiString.cached("content-location");
141
142
143
144 public static final AsciiString CONTENT_TRANSFER_ENCODING = AsciiString.cached("content-transfer-encoding");
145
146
147
148 public static final AsciiString CONTENT_DISPOSITION = AsciiString.cached("content-disposition");
149
150
151
152 public static final AsciiString CONTENT_MD5 = AsciiString.cached("content-md5");
153
154
155
156 public static final AsciiString CONTENT_RANGE = AsciiString.cached("content-range");
157
158
159
160 public static final AsciiString CONTENT_SECURITY_POLICY = AsciiString.cached("content-security-policy");
161
162
163
164 public static final AsciiString CONTENT_TYPE = AsciiString.cached("content-type");
165
166
167
168 public static final AsciiString COOKIE = AsciiString.cached("cookie");
169
170
171
172 public static final AsciiString DATE = AsciiString.cached("date");
173
174
175
176 public static final AsciiString DNT = AsciiString.cached("dnt");
177
178
179
180 public static final AsciiString ETAG = AsciiString.cached("etag");
181
182
183
184 public static final AsciiString EXPECT = AsciiString.cached("expect");
185
186
187
188 public static final AsciiString EXPIRES = AsciiString.cached("expires");
189
190
191
192 public static final AsciiString FROM = AsciiString.cached("from");
193
194
195
196 public static final AsciiString HOST = AsciiString.cached("host");
197
198
199
200 public static final AsciiString IF_MATCH = AsciiString.cached("if-match");
201
202
203
204 public static final AsciiString IF_MODIFIED_SINCE = AsciiString.cached("if-modified-since");
205
206
207
208 public static final AsciiString IF_NONE_MATCH = AsciiString.cached("if-none-match");
209
210
211
212 public static final AsciiString IF_RANGE = AsciiString.cached("if-range");
213
214
215
216 public static final AsciiString IF_UNMODIFIED_SINCE = AsciiString.cached("if-unmodified-since");
217
218
219
220
221
222 @Deprecated
223 public static final AsciiString KEEP_ALIVE = AsciiString.cached("keep-alive");
224
225
226
227 public static final AsciiString LAST_MODIFIED = AsciiString.cached("last-modified");
228
229
230
231 public static final AsciiString LOCATION = AsciiString.cached("location");
232
233
234
235 public static final AsciiString MAX_FORWARDS = AsciiString.cached("max-forwards");
236
237
238
239 public static final AsciiString ORIGIN = AsciiString.cached("origin");
240
241
242
243 public static final AsciiString PRAGMA = AsciiString.cached("pragma");
244
245
246
247 public static final AsciiString PROXY_AUTHENTICATE = AsciiString.cached("proxy-authenticate");
248
249
250
251 public static final AsciiString PROXY_AUTHORIZATION = AsciiString.cached("proxy-authorization");
252
253
254
255
256
257 @Deprecated
258 public static final AsciiString PROXY_CONNECTION = AsciiString.cached("proxy-connection");
259
260
261
262 public static final AsciiString RANGE = AsciiString.cached("range");
263
264
265
266 public static final AsciiString REFERER = AsciiString.cached("referer");
267
268
269
270 public static final AsciiString RETRY_AFTER = AsciiString.cached("retry-after");
271
272
273
274 public static final AsciiString SEC_WEBSOCKET_PROTOCOL = AsciiString.cached("sec-websocket-protocol");
275
276
277
278 public static final AsciiString SEC_WEBSOCKET_VERSION = AsciiString.cached("sec-websocket-version");
279
280
281
282 public static final AsciiString SEC_WEBSOCKET_KEY = AsciiString.cached("sec-websocket-key");
283
284
285
286
287 public static final AsciiString SEC_WEBSOCKET_ORIGIN = AsciiString.cached("Sec-WebSocket-Origin");
288
289
290
291
292 public static final AsciiString SEC_WEBSOCKET_ACCEPT = AsciiString.cached("sec-websocket-accept");
293
294
295
296 public static final AsciiString SEC_WEBSOCKET_EXTENSIONS = AsciiString.cached("sec-websocket-extensions");
297
298
299
300 public static final AsciiString SERVER = AsciiString.cached("server");
301
302
303
304 public static final AsciiString SET_COOKIE = AsciiString.cached("set-cookie");
305
306
307
308 public static final AsciiString SET_COOKIE2 = AsciiString.cached("set-cookie2");
309
310
311
312 public static final AsciiString TE = AsciiString.cached("te");
313
314
315
316 public static final AsciiString TRAILER = AsciiString.cached("trailer");
317
318
319
320 public static final AsciiString TRANSFER_ENCODING = AsciiString.cached("transfer-encoding");
321
322
323
324 public static final AsciiString UPGRADE = AsciiString.cached("upgrade");
325
326
327
328 public static final AsciiString UPGRADE_INSECURE_REQUESTS = AsciiString.cached("upgrade-insecure-requests");
329
330
331
332 public static final AsciiString USER_AGENT = AsciiString.cached("user-agent");
333
334
335
336 public static final AsciiString VARY = AsciiString.cached("vary");
337
338
339
340 public static final AsciiString VIA = AsciiString.cached("via");
341
342
343
344 public static final AsciiString WARNING = AsciiString.cached("warning");
345
346
347
348 public static final AsciiString WWW_AUTHENTICATE = AsciiString.cached("www-authenticate");
349
350
351
352 public static final AsciiString X_FRAME_OPTIONS = AsciiString.cached("x-frame-options");
353
354
355
356 public static final AsciiString X_REQUESTED_WITH = AsciiString.cached("x-requested-with");
357
358 private HttpHeaderNames() { }
359 }