Package io.muserver

Class HeaderNames


  • public final class HeaderNames
    extends java.lang.Object

    Standard HTTP header names.

    These are all defined as lowercase to support HTTP/2 requirements while also not violating HTTP/1.x requirements. New header names should always be lowercase.

    • Field Detail

      • ACCEPT

        public static final java.lang.CharSequence ACCEPT
        "accept"
      • ACCEPT_CHARSET

        public static final java.lang.CharSequence ACCEPT_CHARSET
        "accept-charset"
      • ACCEPT_ENCODING

        public static final java.lang.CharSequence ACCEPT_ENCODING
        "accept-encoding"
      • ACCEPT_LANGUAGE

        public static final java.lang.CharSequence ACCEPT_LANGUAGE
        "accept-language"
      • ACCEPT_RANGES

        public static final java.lang.CharSequence ACCEPT_RANGES
        "accept-ranges"
      • ACCEPT_PATCH

        public static final java.lang.CharSequence ACCEPT_PATCH
        "accept-patch"
      • ACCESS_CONTROL_ALLOW_CREDENTIALS

        public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_CREDENTIALS
        "access-control-allow-credentials"
      • ACCESS_CONTROL_ALLOW_HEADERS

        public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_HEADERS
        "access-control-allow-headers"
      • ACCESS_CONTROL_ALLOW_METHODS

        public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_METHODS
        "access-control-allow-methods"
      • ACCESS_CONTROL_ALLOW_ORIGIN

        public static final java.lang.CharSequence ACCESS_CONTROL_ALLOW_ORIGIN
        "access-control-allow-origin"
      • ACCESS_CONTROL_EXPOSE_HEADERS

        public static final java.lang.CharSequence ACCESS_CONTROL_EXPOSE_HEADERS
        "access-control-expose-headers"
      • ACCESS_CONTROL_MAX_AGE

        public static final java.lang.CharSequence ACCESS_CONTROL_MAX_AGE
        "access-control-max-age"
      • ACCESS_CONTROL_REQUEST_HEADERS

        public static final java.lang.CharSequence ACCESS_CONTROL_REQUEST_HEADERS
        "access-control-request-headers"
      • ACCESS_CONTROL_REQUEST_METHOD

        public static final java.lang.CharSequence ACCESS_CONTROL_REQUEST_METHOD
        "access-control-request-method"
      • AGE

        public static final java.lang.CharSequence AGE
        "age"
      • ALLOW

        public static final java.lang.CharSequence ALLOW
        "allow"
      • AUTHORIZATION

        public static final java.lang.CharSequence AUTHORIZATION
        "authorization"
      • CACHE_CONTROL

        public static final java.lang.CharSequence CACHE_CONTROL
        "cache-control"
      • CONNECTION

        public static final java.lang.CharSequence CONNECTION
        "connection"
      • CONTENT_BASE

        public static final java.lang.CharSequence CONTENT_BASE
        "content-base"
      • CONTENT_ENCODING

        public static final java.lang.CharSequence CONTENT_ENCODING
        "content-encoding"
      • CONTENT_LANGUAGE

        public static final java.lang.CharSequence CONTENT_LANGUAGE
        "content-language"
      • CONTENT_LENGTH

        public static final java.lang.CharSequence CONTENT_LENGTH
        "content-length"
      • CONTENT_LOCATION

        public static final java.lang.CharSequence CONTENT_LOCATION
        "content-location"
      • CONTENT_TRANSFER_ENCODING

        public static final java.lang.CharSequence CONTENT_TRANSFER_ENCODING
        "content-transfer-encoding"
      • CONTENT_DISPOSITION

        public static final java.lang.CharSequence CONTENT_DISPOSITION
        "content-disposition"
      • CONTENT_MD5

        public static final java.lang.CharSequence CONTENT_MD5
        "content-md5"
      • CONTENT_RANGE

        public static final java.lang.CharSequence CONTENT_RANGE
        "content-range"
      • CONTENT_SECURITY_POLICY

        public static final java.lang.CharSequence CONTENT_SECURITY_POLICY
        "content-security-policy"
      • CONTENT_TYPE

        public static final java.lang.CharSequence CONTENT_TYPE
        "content-type"
      • COOKIE

        public static final java.lang.CharSequence COOKIE
        "cookie"
      • DATE

        public static final java.lang.CharSequence DATE
        "date"
      • ETAG

        public static final java.lang.CharSequence ETAG
        "etag"
      • EXPECT

        public static final java.lang.CharSequence EXPECT
        "expect"
      • EXPIRES

        public static final java.lang.CharSequence EXPIRES
        "expires"
      • FORWARDED

        public static final java.lang.CharSequence FORWARDED
        "forwarded"
      • FROM

        public static final java.lang.CharSequence FROM
        "from"
      • HOST

        public static final java.lang.CharSequence HOST
        "host"
      • IF_MATCH

        public static final java.lang.CharSequence IF_MATCH
        "if-match"
      • IF_MODIFIED_SINCE

        public static final java.lang.CharSequence IF_MODIFIED_SINCE
        "if-modified-since"
      • IF_NONE_MATCH

        public static final java.lang.CharSequence IF_NONE_MATCH
        "if-none-match"
      • IF_RANGE

        public static final java.lang.CharSequence IF_RANGE
        "if-range"
      • IF_UNMODIFIED_SINCE

        public static final java.lang.CharSequence IF_UNMODIFIED_SINCE
        "if-unmodified-since"
      • LAST_EVENT_ID

        public static final java.lang.CharSequence LAST_EVENT_ID
        "last-event-id"
      • LAST_MODIFIED

        public static final java.lang.CharSequence LAST_MODIFIED
        "last-modified"
      • LINK

        public static final java.lang.CharSequence LINK
        "link"
      • LOCATION

        public static final java.lang.CharSequence LOCATION
        "location"
      • MAX_FORWARDS

        public static final java.lang.CharSequence MAX_FORWARDS
        "max-forwards"
      • ORIGIN

        public static final java.lang.CharSequence ORIGIN
        "origin"
      • PRAGMA

        public static final java.lang.CharSequence PRAGMA
        "pragma"
      • PROXY_AUTHENTICATE

        public static final java.lang.CharSequence PROXY_AUTHENTICATE
        "proxy-authenticate"
      • PROXY_AUTHORIZATION

        public static final java.lang.CharSequence PROXY_AUTHORIZATION
        "proxy-authorization"
      • RANGE

        public static final java.lang.CharSequence RANGE
        "range"
      • REFERER

        public static final java.lang.CharSequence REFERER
        "referer"
      • RETRY_AFTER

        public static final java.lang.CharSequence RETRY_AFTER
        "retry-after"
      • SEC_WEBSOCKET_KEY1

        public static final java.lang.CharSequence SEC_WEBSOCKET_KEY1
        "sec-websocket-key1"
      • SEC_WEBSOCKET_KEY2

        public static final java.lang.CharSequence SEC_WEBSOCKET_KEY2
        "sec-websocket-key2"
      • SEC_WEBSOCKET_LOCATION

        public static final java.lang.CharSequence SEC_WEBSOCKET_LOCATION
        "sec-websocket-location"
      • SEC_WEBSOCKET_ORIGIN

        public static final java.lang.CharSequence SEC_WEBSOCKET_ORIGIN
        "sec-websocket-origin"
      • SEC_WEBSOCKET_PROTOCOL

        public static final java.lang.CharSequence SEC_WEBSOCKET_PROTOCOL
        "sec-websocket-protocol"
      • SEC_WEBSOCKET_VERSION

        public static final java.lang.CharSequence SEC_WEBSOCKET_VERSION
        "sec-websocket-version"
      • SEC_WEBSOCKET_KEY

        public static final java.lang.CharSequence SEC_WEBSOCKET_KEY
        "sec-websocket-key"
      • SEC_WEBSOCKET_ACCEPT

        public static final java.lang.CharSequence SEC_WEBSOCKET_ACCEPT
        "sec-websocket-accept"
      • SEC_WEBSOCKET_EXTENSIONS

        public static final java.lang.CharSequence SEC_WEBSOCKET_EXTENSIONS
        "sec-websocket-protocol"
      • SERVER

        public static final java.lang.CharSequence SERVER
        "server"
      • SET_COOKIE

        public static final java.lang.CharSequence SET_COOKIE
        "set-cookie"
      • SET_COOKIE2

        public static final java.lang.CharSequence SET_COOKIE2
        "set-cookie2"
      • STRICT_TRANSPORT_SECURITY

        public static final java.lang.CharSequence STRICT_TRANSPORT_SECURITY
        "te"
      • TE

        public static final java.lang.CharSequence TE
        "te"
      • TRAILER

        public static final java.lang.CharSequence TRAILER
        "trailer"
      • TRANSFER_ENCODING

        public static final java.lang.CharSequence TRANSFER_ENCODING
        "transfer-encoding"
      • UPGRADE

        public static final java.lang.CharSequence UPGRADE
        "upgrade"
      • USER_AGENT

        public static final java.lang.CharSequence USER_AGENT
        "user-agent"
      • VARY

        public static final java.lang.CharSequence VARY
        "vary"
      • VIA

        public static final java.lang.CharSequence VIA
        "via"
      • WARNING

        public static final java.lang.CharSequence WARNING
        "warning"
      • WEBSOCKET_LOCATION

        public static final java.lang.CharSequence WEBSOCKET_LOCATION
        "websocket-location"
      • WEBSOCKET_ORIGIN

        public static final java.lang.CharSequence WEBSOCKET_ORIGIN
        "websocket-origin"
      • WEBSOCKET_PROTOCOL

        public static final java.lang.CharSequence WEBSOCKET_PROTOCOL
        "websocket-protocol"
      • WWW_AUTHENTICATE

        public static final java.lang.CharSequence WWW_AUTHENTICATE
        "www-authenticate"
      • X_CONTENT_TYPE_OPTIONS

        public static final java.lang.CharSequence X_CONTENT_TYPE_OPTIONS
        "content-type"
      • X_FORWARDED_FOR

        public static final java.lang.CharSequence X_FORWARDED_FOR
        "x-forwarded-for"
      • X_FORWARDED_HOST

        public static final java.lang.CharSequence X_FORWARDED_HOST
        "x-forwarded-host"
      • X_FORWARDED_PORT

        public static final java.lang.CharSequence X_FORWARDED_PORT
        "x-forwarded-port"
      • X_FORWARDED_PROTO

        public static final java.lang.CharSequence X_FORWARDED_PROTO
        "x-forwarded-proto"
      • X_FRAME_OPTIONS

        public static final java.lang.CharSequence X_FRAME_OPTIONS
        "x-frame-options"