com.yahoo.jdisc.http.HttpHeaders Maven / Gradle / Ivy
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http;
/**
* @author Anirudha Khanna
*/
@SuppressWarnings("UnusedDeclaration")
public class HttpHeaders {
public static final class Names {
public static final String ACCEPT = "Accept";
public static final String ACCEPT_CHARSET = "Accept-Charset";
public static final String ACCEPT_ENCODING = "Accept-Encoding";
public static final String ACCEPT_LANGUAGE = "Accept-Language";
public static final String ACCEPT_RANGES = "Accept-Ranges";
public static final String ACCEPT_PATCH = "Accept-Patch";
public static final String AGE = "Age";
public static final String ALLOW = "Allow";
public static final String AUTHORIZATION = "Authorization";
public static final String CACHE_CONTROL = "Cache-Control";
public static final String CONNECTION = "Connection";
public static final String CONTENT_BASE = "Content-Base";
public static final String CONTENT_ENCODING = "Content-Encoding";
public static final String CONTENT_LANGUAGE = "Content-Language";
public static final String CONTENT_LENGTH = "Content-Length";
public static final String CONTENT_LOCATION = "Content-Location";
public static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
public static final String CONTENT_MD5 = "Content-MD5";
public static final String CONTENT_RANGE = "Content-Range";
public static final String CONTENT_TYPE = "Content-Type";
public static final String COOKIE = "Cookie";
public static final String DATE = "Date";
public static final String ETAG = "ETag";
public static final String EXPECT = "Expect";
public static final String EXPIRES = "Expires";
public static final String FROM = "From";
public static final String HOST = "Host";
public static final String IF_MATCH = "If-Match";
public static final String IF_MODIFIED_SINCE = "If-Modified-Since";
public static final String IF_NONE_MATCH = "If-None-Match";
public static final String IF_RANGE = "If-Range";
public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
public static final String LAST_MODIFIED = "Last-Modified";
public static final String LOCATION = "Location";
public static final String MAX_FORWARDS = "Max-Forwards";
public static final String ORIGIN = "Origin";
public static final String PRAGMA = "Pragma";
public static final String PROXY_AUTHENTICATE = "Proxy-Authenticate";
public static final String PROXY_AUTHORIZATION = "Proxy-Authorization";
public static final String RANGE = "Range";
public static final String REFERER = "Referer";
public static final String RETRY_AFTER = "Retry-After";
public static final String SEC_WEBSOCKET_KEY1 = "Sec-WebSocket-Key1";
public static final String SEC_WEBSOCKET_KEY2 = "Sec-WebSocket-Key2";
public static final String SEC_WEBSOCKET_LOCATION = "Sec-WebSocket-Location";
public static final String SEC_WEBSOCKET_ORIGIN = "Sec-WebSocket-Origin";
public static final String SEC_WEBSOCKET_PROTOCOL = "Sec-WebSocket-Protocol";
public static final String SEC_WEBSOCKET_VERSION = "Sec-WebSocket-Version";
public static final String SEC_WEBSOCKET_KEY = "Sec-WebSocket-Key";
public static final String SEC_WEBSOCKET_ACCEPT = "Sec-WebSocket-Accept";
public static final String SERVER = "Server";
public static final String SET_COOKIE = "Set-Cookie";
public static final String SET_COOKIE2 = "Set-Cookie2";
public static final String TE = "TE";
public static final String TRAILER = "Trailer";
public static final String TRANSFER_ENCODING = "Transfer-Encoding";
public static final String UPGRADE = "Upgrade";
public static final String USER_AGENT = "User-Agent";
public static final String VARY = "Vary";
public static final String VIA = "Via";
public static final String WARNING = "Warning";
public static final String WEBSOCKET_LOCATION = "WebSocket-Location";
public static final String WEBSOCKET_ORIGIN = "WebSocket-Origin";
public static final String WEBSOCKET_PROTOCOL = "WebSocket-Protocol";
public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
public static final String X_DISABLE_CHUNKING = "X-JDisc-Disable-Chunking";
public static final String X_YAHOO_SERVING_HOST = "X-Yahoo-Serving-Host";
private Names() {
// hide
}
}
public static final class Values {
public static final String APPLICATION_X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded";
public static final String BASE64 = "base64";
public static final String BINARY = "binary";
public static final String BYTES = "bytes";
public static final String CHARSET = "charset";
public static final String CHUNKED = "chunked";
public static final String CLOSE = "close";
public static final String COMPRESS = "compress";
public static final String CONTINUE = "100-continue";
public static final String DEFLATE = "deflate";
public static final String GZIP = "gzip";
public static final String IDENTITY = "identity";
public static final String KEEP_ALIVE = "keep-alive";
public static final String MAX_AGE = "max-age";
public static final String MAX_STALE = "max-stale";
public static final String MIN_FRESH = "min-fresh";
public static final String MUST_REVALIDATE = "must-revalidate";
public static final String NO_CACHE = "no-cache";
public static final String NO_STORE = "no-store";
public static final String NO_TRANSFORM = "no-transform";
public static final String NONE = "none";
public static final String ONLY_IF_CACHED = "only-if-cached";
public static final String PRIVATE = "private";
public static final String PROXY_REVALIDATE = "proxy-revalidate";
public static final String PUBLIC = "public";
public static final String QUOTED_PRINTABLE = "quoted-printable";
public static final String S_MAXAGE = "s-maxage";
public static final String TRAILERS = "trailers";
public static final String UPGRADE = "Upgrade";
public static final String WEBSOCKET = "WebSocket";
private Values() {
// hide
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy