1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package io.netty.handler.codec.http;
18
19 import io.netty.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
126 public static final AsciiString SNAPPY = AsciiString.cached("snappy");
127
128
129
130
131 public static final AsciiString ZSTD = AsciiString.cached("zstd");
132
133
134
135 public static final AsciiString GZIP_DEFLATE = AsciiString.cached("gzip,deflate");
136
137
138
139 public static final AsciiString X_GZIP = AsciiString.cached("x-gzip");
140
141
142
143 public static final AsciiString IDENTITY = AsciiString.cached("identity");
144
145
146
147 public static final AsciiString KEEP_ALIVE = AsciiString.cached("keep-alive");
148
149
150
151 public static final AsciiString MAX_AGE = AsciiString.cached("max-age");
152
153
154
155 public static final AsciiString MAX_STALE = AsciiString.cached("max-stale");
156
157
158
159 public static final AsciiString MIN_FRESH = AsciiString.cached("min-fresh");
160
161
162
163 public static final AsciiString MULTIPART_FORM_DATA = AsciiString.cached("multipart/form-data");
164
165
166
167 public static final AsciiString MULTIPART_MIXED = AsciiString.cached("multipart/mixed");
168
169
170
171 public static final AsciiString MUST_REVALIDATE = AsciiString.cached("must-revalidate");
172
173
174
175
176 public static final AsciiString NAME = AsciiString.cached("name");
177
178
179
180 public static final AsciiString NO_CACHE = AsciiString.cached("no-cache");
181
182
183
184 public static final AsciiString NO_STORE = AsciiString.cached("no-store");
185
186
187
188 public static final AsciiString NO_TRANSFORM = AsciiString.cached("no-transform");
189
190
191
192 public static final AsciiString NONE = AsciiString.cached("none");
193
194
195
196 public static final AsciiString ZERO = AsciiString.cached("0");
197
198
199
200 public static final AsciiString ONLY_IF_CACHED = AsciiString.cached("only-if-cached");
201
202
203
204 public static final AsciiString PRIVATE = AsciiString.cached("private");
205
206
207
208 public static final AsciiString PROXY_REVALIDATE = AsciiString.cached("proxy-revalidate");
209
210
211
212 public static final AsciiString PUBLIC = AsciiString.cached("public");
213
214
215
216 public static final AsciiString QUOTED_PRINTABLE = AsciiString.cached("quoted-printable");
217
218
219
220 public static final AsciiString S_MAXAGE = AsciiString.cached("s-maxage");
221
222
223
224 public static final AsciiString TEXT_CSS = AsciiString.cached("text/css");
225
226
227
228 public static final AsciiString TEXT_HTML = AsciiString.cached("text/html");
229
230
231
232 public static final AsciiString TEXT_EVENT_STREAM = AsciiString.cached("text/event-stream");
233
234
235
236 public static final AsciiString TEXT_PLAIN = AsciiString.cached("text/plain");
237
238
239
240 public static final AsciiString TRAILERS = AsciiString.cached("trailers");
241
242
243
244 public static final AsciiString UPGRADE = AsciiString.cached("upgrade");
245
246
247
248 public static final AsciiString WEBSOCKET = AsciiString.cached("websocket");
249
250
251
252 public static final AsciiString XML_HTTP_REQUEST = AsciiString.cached("XMLHttpRequest");
253
254 private HttpHeaderValues() { }
255 }