/*
 * Copyright 2014 The Netty Project
 *
 * The Netty Project licenses this file to you under the Apache License,
 * version 2.0 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at:
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package io.netty.handler.codec.http;

import io.netty.util.AsciiString;

Standard HTTP header values.
/** * Standard HTTP header values. */
public final class HttpHeaderValues {
"application/json"
/** * {@code "application/json"} */
public static final AsciiString APPLICATION_JSON = AsciiString.cached("application/json");
"application/x-www-form-urlencoded"
/** * {@code "application/x-www-form-urlencoded"} */
public static final AsciiString APPLICATION_X_WWW_FORM_URLENCODED = AsciiString.cached("application/x-www-form-urlencoded");
"application/octet-stream"
/** * {@code "application/octet-stream"} */
public static final AsciiString APPLICATION_OCTET_STREAM = AsciiString.cached("application/octet-stream"); /** * {@code "attachment"} * See {@link HttpHeaderNames#CONTENT_DISPOSITION} */ public static final AsciiString ATTACHMENT = AsciiString.cached("attachment");
"base64"
/** * {@code "base64"} */
public static final AsciiString BASE64 = AsciiString.cached("base64");
"binary"
/** * {@code "binary"} */
public static final AsciiString BINARY = AsciiString.cached("binary");
"boundary"
/** * {@code "boundary"} */
public static final AsciiString BOUNDARY = AsciiString.cached("boundary");
"bytes"
/** * {@code "bytes"} */
public static final AsciiString BYTES = AsciiString.cached("bytes");
"charset"
/** * {@code "charset"} */
public static final AsciiString CHARSET = AsciiString.cached("charset");
"chunked"
/** * {@code "chunked"} */
public static final AsciiString CHUNKED = AsciiString.cached("chunked");
"close"
/** * {@code "close"} */
public static final AsciiString CLOSE = AsciiString.cached("close");
"compress"
/** * {@code "compress"} */
public static final AsciiString COMPRESS = AsciiString.cached("compress");
"100-continue"
/** * {@code "100-continue"} */
public static final AsciiString CONTINUE = AsciiString.cached("100-continue");
"deflate"
/** * {@code "deflate"} */
public static final AsciiString DEFLATE = AsciiString.cached("deflate");
"x-deflate"
/** * {@code "x-deflate"} */
public static final AsciiString X_DEFLATE = AsciiString.cached("x-deflate"); /** * {@code "file"} * See {@link HttpHeaderNames#CONTENT_DISPOSITION} */ public static final AsciiString FILE = AsciiString.cached("file"); /** * {@code "filename"} * See {@link HttpHeaderNames#CONTENT_DISPOSITION} */ public static final AsciiString FILENAME = AsciiString.cached("filename"); /** * {@code "form-data"} * See {@link HttpHeaderNames#CONTENT_DISPOSITION} */ public static final AsciiString FORM_DATA = AsciiString.cached("form-data");
"gzip"
/** * {@code "gzip"} */
public static final AsciiString GZIP = AsciiString.cached("gzip");
"gzip,deflate"
/** * {@code "gzip,deflate"} */
public static final AsciiString GZIP_DEFLATE = AsciiString.cached("gzip,deflate");
"x-gzip"
/** * {@code "x-gzip"} */
public static final AsciiString X_GZIP = AsciiString.cached("x-gzip");
"identity"
/** * {@code "identity"} */
public static final AsciiString IDENTITY = AsciiString.cached("identity");
"keep-alive"
/** * {@code "keep-alive"} */
public static final AsciiString KEEP_ALIVE = AsciiString.cached("keep-alive");
"max-age"
/** * {@code "max-age"} */
public static final AsciiString MAX_AGE = AsciiString.cached("max-age");
"max-stale"
/** * {@code "max-stale"} */
public static final AsciiString MAX_STALE = AsciiString.cached("max-stale");
"min-fresh"
/** * {@code "min-fresh"} */
public static final AsciiString MIN_FRESH = AsciiString.cached("min-fresh");
"multipart/form-data"
/** * {@code "multipart/form-data"} */
public static final AsciiString MULTIPART_FORM_DATA = AsciiString.cached("multipart/form-data");
"multipart/mixed"
/** * {@code "multipart/mixed"} */
public static final AsciiString MULTIPART_MIXED = AsciiString.cached("multipart/mixed");
"must-revalidate"
/** * {@code "must-revalidate"} */
public static final AsciiString MUST_REVALIDATE = AsciiString.cached("must-revalidate"); /** * {@code "name"} * See {@link HttpHeaderNames#CONTENT_DISPOSITION} */ public static final AsciiString NAME = AsciiString.cached("name");
"no-cache"
/** * {@code "no-cache"} */
public static final AsciiString NO_CACHE = AsciiString.cached("no-cache");
"no-store"
/** * {@code "no-store"} */
public static final AsciiString NO_STORE = AsciiString.cached("no-store");
"no-transform"
/** * {@code "no-transform"} */
public static final AsciiString NO_TRANSFORM = AsciiString.cached("no-transform");
"none"
/** * {@code "none"} */
public static final AsciiString NONE = AsciiString.cached("none");
"0"
/** * {@code "0"} */
public static final AsciiString ZERO = AsciiString.cached("0");
"only-if-cached"
/** * {@code "only-if-cached"} */
public static final AsciiString ONLY_IF_CACHED = AsciiString.cached("only-if-cached");
"private"
/** * {@code "private"} */
public static final AsciiString PRIVATE = AsciiString.cached("private");
"proxy-revalidate"
/** * {@code "proxy-revalidate"} */
public static final AsciiString PROXY_REVALIDATE = AsciiString.cached("proxy-revalidate");
"public"
/** * {@code "public"} */
public static final AsciiString PUBLIC = AsciiString.cached("public");
"quoted-printable"
/** * {@code "quoted-printable"} */
public static final AsciiString QUOTED_PRINTABLE = AsciiString.cached("quoted-printable");
"s-maxage"
/** * {@code "s-maxage"} */
public static final AsciiString S_MAXAGE = AsciiString.cached("s-maxage");
"text/plain"
/** * {@code "text/plain"} */
public static final AsciiString TEXT_PLAIN = AsciiString.cached("text/plain");
"trailers"
/** * {@code "trailers"} */
public static final AsciiString TRAILERS = AsciiString.cached("trailers");
"upgrade"
/** * {@code "upgrade"} */
public static final AsciiString UPGRADE = AsciiString.cached("upgrade");
"websocket"
/** * {@code "websocket"} */
public static final AsciiString WEBSOCKET = AsciiString.cached("websocket"); private HttpHeaderValues() { } }