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 public final class HttpHeaderValues {
25
26
27
28 public static final AsciiString APPLICATION_JSON = AsciiString.cached("application/json");
29
30
31
32 public static final AsciiString APPLICATION_X_WWW_FORM_URLENCODED =
33 AsciiString.cached("application/x-www-form-urlencoded");
34
35
36
37 public static final AsciiString APPLICATION_OCTET_STREAM = AsciiString.cached("application/octet-stream");
38
39
40
41 public static final AsciiString APPLICATION_XHTML = AsciiString.cached("application/xhtml+xml");
42
43
44
45 public static final AsciiString APPLICATION_XML = AsciiString.cached("application/xml");
46
47
48
49 public static final AsciiString APPLICATION_ZSTD = AsciiString.cached("application/zstd");
50
51
52
53
54 public static final AsciiString ATTACHMENT = AsciiString.cached("attachment");
55
56
57
58 public static final AsciiString BASE64 = AsciiString.cached("base64");
59
60
61
62 public static final AsciiString BINARY = AsciiString.cached("binary");
63
64
65
66 public static final AsciiString BOUNDARY = AsciiString.cached("boundary");
67
68
69
70 public static final AsciiString BYTES = AsciiString.cached("bytes");
71
72
73
74 public static final AsciiString CHARSET = AsciiString.cached("charset");
75
76
77
78 public static final AsciiString CHUNKED = AsciiString.cached("chunked");
79
80
81
82 public static final AsciiString CLOSE = AsciiString.cached("close");
83
84
85
86 public static final AsciiString COMPRESS = AsciiString.cached("compress");
87
88
89
90 public static final AsciiString CONTINUE = AsciiString.cached("100-continue");
91
92
93
94 public static final AsciiString DEFLATE = AsciiString.cached("deflate");
95
96
97
98 public static final AsciiString X_DEFLATE = AsciiString.cached("x-deflate");
99
100
101
102
103 public static final AsciiString FILE = AsciiString.cached("file");
104
105
106
107
108 public static final AsciiString FILENAME = AsciiString.cached("filename");
109
110
111
112
113 public static final AsciiString FORM_DATA = AsciiString.cached("form-data");
114
115
116
117 public static final AsciiString GZIP = AsciiString.cached("gzip");
118
119
120
121 public static final AsciiString BR = AsciiString.cached("br");
122
123
124
125 public static final AsciiString ZSTD = AsciiString.cached("zstd");
126
127
128
129 public static final AsciiString GZIP_DEFLATE = AsciiString.cached("gzip,deflate");
130
131
132
133 public static final AsciiString X_GZIP = AsciiString.cached("x-gzip");
134
135
136
137 public static final AsciiString IDENTITY = AsciiString.cached("identity");
138
139
140
141 public static final AsciiString KEEP_ALIVE = AsciiString.cached("keep-alive");
142
143
144
145 public static final AsciiString MAX_AGE = AsciiString.cached("max-age");
146
147
148
149 public static final AsciiString MAX_STALE = AsciiString.cached("max-stale");
150
151
152
153 public static final AsciiString MIN_FRESH = AsciiString.cached("min-fresh");
154
155
156
157 public static final AsciiString MULTIPART_FORM_DATA = AsciiString.cached("multipart/form-data");
158
159
160
161 public static final AsciiString MULTIPART_MIXED = AsciiString.cached("multipart/mixed");
162
163
164
165 public static final AsciiString MUST_REVALIDATE = AsciiString.cached("must-revalidate");
166
167
168
169
170 public static final AsciiString NAME = AsciiString.cached("name");
171
172
173
174 public static final AsciiString NO_CACHE = AsciiString.cached("no-cache");
175
176
177
178 public static final AsciiString NO_STORE = AsciiString.cached("no-store");
179
180
181
182 public static final AsciiString NO_TRANSFORM = AsciiString.cached("no-transform");
183
184
185
186 public static final AsciiString NONE = AsciiString.cached("none");
187
188
189
190 public static final AsciiString ZERO = AsciiString.cached("0");
191
192
193
194 public static final AsciiString ONLY_IF_CACHED = AsciiString.cached("only-if-cached");
195
196
197
198 public static final AsciiString PRIVATE = AsciiString.cached("private");
199
200
201
202 public static final AsciiString PROXY_REVALIDATE = AsciiString.cached("proxy-revalidate");
203
204
205
206 public static final AsciiString PUBLIC = AsciiString.cached("public");
207
208
209
210 public static final AsciiString QUOTED_PRINTABLE = AsciiString.cached("quoted-printable");
211
212
213
214 public static final AsciiString S_MAXAGE = AsciiString.cached("s-maxage");
215
216
217
218 public static final AsciiString TEXT_CSS = AsciiString.cached("text/css");
219
220
221
222 public static final AsciiString TEXT_HTML = AsciiString.cached("text/html");
223
224
225
226 public static final AsciiString TEXT_EVENT_STREAM = AsciiString.cached("text/event-stream");
227
228
229
230 public static final AsciiString TEXT_PLAIN = AsciiString.cached("text/plain");
231
232
233
234 public static final AsciiString TRAILERS = AsciiString.cached("trailers");
235
236
237
238 public static final AsciiString UPGRADE = AsciiString.cached("upgrade");
239
240
241
242 public static final AsciiString WEBSOCKET = AsciiString.cached("websocket");
243
244
245
246 public static final AsciiString XML_HTTP_REQUEST = AsciiString.cached("XMLHttpRequest");
247
248 private HttpHeaderValues() { }
249 }