Class HttpHeaders


  • public final class HttpHeaders
    extends java.lang.Object
    Constants enumerating the HTTP headers. All headers defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are listed.
    Since:
    4.1
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ACCEPT
      RFC 2616 (HTTP/1.1) Section 14.1
      static java.lang.String ACCEPT_CHARSET
      RFC 2616 (HTTP/1.1) Section 14.2
      static java.lang.String ACCEPT_ENCODING
      RFC 2616 (HTTP/1.1) Section 14.3
      static java.lang.String ACCEPT_LANGUAGE
      RFC 2616 (HTTP/1.1) Section 14.4
      static java.lang.String ACCEPT_RANGES
      RFC 2616 (HTTP/1.1) Section 14.5
      static java.lang.String AGE
      RFC 2616 (HTTP/1.1) Section 14.6
      static java.lang.String ALLOW
      RFC 1945 (HTTP/1.0) Section 10.1, RFC 2616 (HTTP/1.1) Section 14.7
      static java.lang.String AUTHORIZATION
      RFC 1945 (HTTP/1.0) Section 10.2, RFC 2616 (HTTP/1.1) Section 14.8
      static java.lang.String CACHE_CONTROL
      RFC 2616 (HTTP/1.1) Section 14.9
      static java.lang.String CONNECTION
      RFC 2616 (HTTP/1.1) Section 14.10
      static java.lang.String CONTENT_ENCODING
      RFC 1945 (HTTP/1.0) Section 10.3, RFC 2616 (HTTP/1.1) Section 14.11
      static java.lang.String CONTENT_LANGUAGE
      RFC 2616 (HTTP/1.1) Section 14.12
      static java.lang.String CONTENT_LENGTH
      RFC 1945 (HTTP/1.0) Section 10.4, RFC 2616 (HTTP/1.1) Section 14.13
      static java.lang.String CONTENT_LOCATION
      RFC 2616 (HTTP/1.1) Section 14.14
      static java.lang.String CONTENT_MD5
      RFC 2616 (HTTP/1.1) Section 14.15
      static java.lang.String CONTENT_RANGE
      RFC 2616 (HTTP/1.1) Section 14.16
      static java.lang.String CONTENT_TYPE
      RFC 1945 (HTTP/1.0) Section 10.5, RFC 2616 (HTTP/1.1) Section 14.17
      static java.lang.String DATE
      RFC 1945 (HTTP/1.0) Section 10.6, RFC 2616 (HTTP/1.1) Section 14.18
      static java.lang.String DAV
      RFC 2518 (WevDAV) Section 9.1
      static java.lang.String DEPTH
      RFC 2518 (WevDAV) Section 9.2
      static java.lang.String DESTINATION
      RFC 2518 (WevDAV) Section 9.3
      static java.lang.String ETAG
      RFC 2616 (HTTP/1.1) Section 14.19
      static java.lang.String EXPECT
      RFC 2616 (HTTP/1.1) Section 14.20
      static java.lang.String EXPIRES
      RFC 1945 (HTTP/1.0) Section 10.7, RFC 2616 (HTTP/1.1) Section 14.21
      static java.lang.String FROM
      RFC 1945 (HTTP/1.0) Section 10.8, RFC 2616 (HTTP/1.1) Section 14.22
      static java.lang.String HOST
      RFC 2616 (HTTP/1.1) Section 14.23
      static java.lang.String IF
      RFC 2518 (WevDAV) Section 9.4
      static java.lang.String IF_MATCH
      RFC 2616 (HTTP/1.1) Section 14.24
      static java.lang.String IF_MODIFIED_SINCE
      RFC 1945 (HTTP/1.0) Section 10.9, RFC 2616 (HTTP/1.1) Section 14.25
      static java.lang.String IF_NONE_MATCH
      RFC 2616 (HTTP/1.1) Section 14.26
      static java.lang.String IF_RANGE
      RFC 2616 (HTTP/1.1) Section 14.27
      static java.lang.String IF_UNMODIFIED_SINCE
      RFC 2616 (HTTP/1.1) Section 14.28
      static java.lang.String LAST_MODIFIED
      RFC 1945 (HTTP/1.0) Section 10.10, RFC 2616 (HTTP/1.1) Section 14.29
      static java.lang.String LOCATION
      RFC 1945 (HTTP/1.0) Section 10.11, RFC 2616 (HTTP/1.1) Section 14.30
      static java.lang.String LOCK_TOKEN
      RFC 2518 (WevDAV) Section 9.5
      static java.lang.String MAX_FORWARDS
      RFC 2616 (HTTP/1.1) Section 14.31
      static java.lang.String OVERWRITE
      RFC 2518 (WevDAV) Section 9.6
      static java.lang.String PRAGMA
      RFC 1945 (HTTP/1.0) Section 10.12, RFC 2616 (HTTP/1.1) Section 14.32
      static java.lang.String PROXY_AUTHENTICATE
      RFC 2616 (HTTP/1.1) Section 14.33
      static java.lang.String PROXY_AUTHORIZATION
      RFC 2616 (HTTP/1.1) Section 14.34
      static java.lang.String RANGE
      RFC 2616 (HTTP/1.1) Section 14.35
      static java.lang.String REFERER
      RFC 1945 (HTTP/1.0) Section 10.13, RFC 2616 (HTTP/1.1) Section 14.36
      static java.lang.String RETRY_AFTER
      RFC 2616 (HTTP/1.1) Section 14.37
      static java.lang.String SERVER
      RFC 1945 (HTTP/1.0) Section 10.14, RFC 2616 (HTTP/1.1) Section 14.38
      static java.lang.String STATUS_URI
      RFC 2518 (WevDAV) Section 9.7
      static java.lang.String TE
      RFC 2616 (HTTP/1.1) Section 14.39
      static java.lang.String TIMEOUT
      RFC 2518 (WevDAV) Section 9.8
      static java.lang.String TRAILER
      RFC 2616 (HTTP/1.1) Section 14.40
      static java.lang.String TRANSFER_ENCODING
      RFC 2616 (HTTP/1.1) Section 14.41
      static java.lang.String UPGRADE
      RFC 2616 (HTTP/1.1) Section 14.42
      static java.lang.String USER_AGENT
      RFC 1945 (HTTP/1.0) Section 10.15, RFC 2616 (HTTP/1.1) Section 14.43
      static java.lang.String VARY
      RFC 2616 (HTTP/1.1) Section 14.44
      static java.lang.String VIA
      RFC 2616 (HTTP/1.1) Section 14.45
      static java.lang.String WARNING
      RFC 2616 (HTTP/1.1) Section 14.46
      static java.lang.String WWW_AUTHENTICATE
      RFC 1945 (HTTP/1.0) Section 10.16, RFC 2616 (HTTP/1.1) Section 14.47
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ACCEPT

        public static final java.lang.String ACCEPT
        RFC 2616 (HTTP/1.1) Section 14.1
        See Also:
        Constant Field Values
      • ACCEPT_CHARSET

        public static final java.lang.String ACCEPT_CHARSET
        RFC 2616 (HTTP/1.1) Section 14.2
        See Also:
        Constant Field Values
      • ACCEPT_ENCODING

        public static final java.lang.String ACCEPT_ENCODING
        RFC 2616 (HTTP/1.1) Section 14.3
        See Also:
        Constant Field Values
      • ACCEPT_LANGUAGE

        public static final java.lang.String ACCEPT_LANGUAGE
        RFC 2616 (HTTP/1.1) Section 14.4
        See Also:
        Constant Field Values
      • ACCEPT_RANGES

        public static final java.lang.String ACCEPT_RANGES
        RFC 2616 (HTTP/1.1) Section 14.5
        See Also:
        Constant Field Values
      • AGE

        public static final java.lang.String AGE
        RFC 2616 (HTTP/1.1) Section 14.6
        See Also:
        Constant Field Values
      • ALLOW

        public static final java.lang.String ALLOW
        RFC 1945 (HTTP/1.0) Section 10.1, RFC 2616 (HTTP/1.1) Section 14.7
        See Also:
        Constant Field Values
      • AUTHORIZATION

        public static final java.lang.String AUTHORIZATION
        RFC 1945 (HTTP/1.0) Section 10.2, RFC 2616 (HTTP/1.1) Section 14.8
        See Also:
        Constant Field Values
      • CACHE_CONTROL

        public static final java.lang.String CACHE_CONTROL
        RFC 2616 (HTTP/1.1) Section 14.9
        See Also:
        Constant Field Values
      • CONNECTION

        public static final java.lang.String CONNECTION
        RFC 2616 (HTTP/1.1) Section 14.10
        See Also:
        Constant Field Values
      • CONTENT_ENCODING

        public static final java.lang.String CONTENT_ENCODING
        RFC 1945 (HTTP/1.0) Section 10.3, RFC 2616 (HTTP/1.1) Section 14.11
        See Also:
        Constant Field Values
      • CONTENT_LANGUAGE

        public static final java.lang.String CONTENT_LANGUAGE
        RFC 2616 (HTTP/1.1) Section 14.12
        See Also:
        Constant Field Values
      • CONTENT_LENGTH

        public static final java.lang.String CONTENT_LENGTH
        RFC 1945 (HTTP/1.0) Section 10.4, RFC 2616 (HTTP/1.1) Section 14.13
        See Also:
        Constant Field Values
      • CONTENT_LOCATION

        public static final java.lang.String CONTENT_LOCATION
        RFC 2616 (HTTP/1.1) Section 14.14
        See Also:
        Constant Field Values
      • CONTENT_MD5

        public static final java.lang.String CONTENT_MD5
        RFC 2616 (HTTP/1.1) Section 14.15
        See Also:
        Constant Field Values
      • CONTENT_RANGE

        public static final java.lang.String CONTENT_RANGE
        RFC 2616 (HTTP/1.1) Section 14.16
        See Also:
        Constant Field Values
      • CONTENT_TYPE

        public static final java.lang.String CONTENT_TYPE
        RFC 1945 (HTTP/1.0) Section 10.5, RFC 2616 (HTTP/1.1) Section 14.17
        See Also:
        Constant Field Values
      • DATE

        public static final java.lang.String DATE
        RFC 1945 (HTTP/1.0) Section 10.6, RFC 2616 (HTTP/1.1) Section 14.18
        See Also:
        Constant Field Values
      • DAV

        public static final java.lang.String DAV
        RFC 2518 (WevDAV) Section 9.1
        See Also:
        Constant Field Values
      • DEPTH

        public static final java.lang.String DEPTH
        RFC 2518 (WevDAV) Section 9.2
        See Also:
        Constant Field Values
      • DESTINATION

        public static final java.lang.String DESTINATION
        RFC 2518 (WevDAV) Section 9.3
        See Also:
        Constant Field Values
      • ETAG

        public static final java.lang.String ETAG
        RFC 2616 (HTTP/1.1) Section 14.19
        See Also:
        Constant Field Values
      • EXPECT

        public static final java.lang.String EXPECT
        RFC 2616 (HTTP/1.1) Section 14.20
        See Also:
        Constant Field Values
      • EXPIRES

        public static final java.lang.String EXPIRES
        RFC 1945 (HTTP/1.0) Section 10.7, RFC 2616 (HTTP/1.1) Section 14.21
        See Also:
        Constant Field Values
      • FROM

        public static final java.lang.String FROM
        RFC 1945 (HTTP/1.0) Section 10.8, RFC 2616 (HTTP/1.1) Section 14.22
        See Also:
        Constant Field Values
      • HOST

        public static final java.lang.String HOST
        RFC 2616 (HTTP/1.1) Section 14.23
        See Also:
        Constant Field Values
      • IF

        public static final java.lang.String IF
        RFC 2518 (WevDAV) Section 9.4
        See Also:
        Constant Field Values
      • IF_MATCH

        public static final java.lang.String IF_MATCH
        RFC 2616 (HTTP/1.1) Section 14.24
        See Also:
        Constant Field Values
      • IF_MODIFIED_SINCE

        public static final java.lang.String IF_MODIFIED_SINCE
        RFC 1945 (HTTP/1.0) Section 10.9, RFC 2616 (HTTP/1.1) Section 14.25
        See Also:
        Constant Field Values
      • IF_NONE_MATCH

        public static final java.lang.String IF_NONE_MATCH
        RFC 2616 (HTTP/1.1) Section 14.26
        See Also:
        Constant Field Values
      • IF_RANGE

        public static final java.lang.String IF_RANGE
        RFC 2616 (HTTP/1.1) Section 14.27
        See Also:
        Constant Field Values
      • IF_UNMODIFIED_SINCE

        public static final java.lang.String IF_UNMODIFIED_SINCE
        RFC 2616 (HTTP/1.1) Section 14.28
        See Also:
        Constant Field Values
      • LAST_MODIFIED

        public static final java.lang.String LAST_MODIFIED
        RFC 1945 (HTTP/1.0) Section 10.10, RFC 2616 (HTTP/1.1) Section 14.29
        See Also:
        Constant Field Values
      • LOCATION

        public static final java.lang.String LOCATION
        RFC 1945 (HTTP/1.0) Section 10.11, RFC 2616 (HTTP/1.1) Section 14.30
        See Also:
        Constant Field Values
      • LOCK_TOKEN

        public static final java.lang.String LOCK_TOKEN
        RFC 2518 (WevDAV) Section 9.5
        See Also:
        Constant Field Values
      • MAX_FORWARDS

        public static final java.lang.String MAX_FORWARDS
        RFC 2616 (HTTP/1.1) Section 14.31
        See Also:
        Constant Field Values
      • OVERWRITE

        public static final java.lang.String OVERWRITE
        RFC 2518 (WevDAV) Section 9.6
        See Also:
        Constant Field Values
      • PRAGMA

        public static final java.lang.String PRAGMA
        RFC 1945 (HTTP/1.0) Section 10.12, RFC 2616 (HTTP/1.1) Section 14.32
        See Also:
        Constant Field Values
      • PROXY_AUTHENTICATE

        public static final java.lang.String PROXY_AUTHENTICATE
        RFC 2616 (HTTP/1.1) Section 14.33
        See Also:
        Constant Field Values
      • PROXY_AUTHORIZATION

        public static final java.lang.String PROXY_AUTHORIZATION
        RFC 2616 (HTTP/1.1) Section 14.34
        See Also:
        Constant Field Values
      • RANGE

        public static final java.lang.String RANGE
        RFC 2616 (HTTP/1.1) Section 14.35
        See Also:
        Constant Field Values
      • REFERER

        public static final java.lang.String REFERER
        RFC 1945 (HTTP/1.0) Section 10.13, RFC 2616 (HTTP/1.1) Section 14.36
        See Also:
        Constant Field Values
      • RETRY_AFTER

        public static final java.lang.String RETRY_AFTER
        RFC 2616 (HTTP/1.1) Section 14.37
        See Also:
        Constant Field Values
      • SERVER

        public static final java.lang.String SERVER
        RFC 1945 (HTTP/1.0) Section 10.14, RFC 2616 (HTTP/1.1) Section 14.38
        See Also:
        Constant Field Values
      • STATUS_URI

        public static final java.lang.String STATUS_URI
        RFC 2518 (WevDAV) Section 9.7
        See Also:
        Constant Field Values
      • TE

        public static final java.lang.String TE
        RFC 2616 (HTTP/1.1) Section 14.39
        See Also:
        Constant Field Values
      • TIMEOUT

        public static final java.lang.String TIMEOUT
        RFC 2518 (WevDAV) Section 9.8
        See Also:
        Constant Field Values
      • TRAILER

        public static final java.lang.String TRAILER
        RFC 2616 (HTTP/1.1) Section 14.40
        See Also:
        Constant Field Values
      • TRANSFER_ENCODING

        public static final java.lang.String TRANSFER_ENCODING
        RFC 2616 (HTTP/1.1) Section 14.41
        See Also:
        Constant Field Values
      • UPGRADE

        public static final java.lang.String UPGRADE
        RFC 2616 (HTTP/1.1) Section 14.42
        See Also:
        Constant Field Values
      • USER_AGENT

        public static final java.lang.String USER_AGENT
        RFC 1945 (HTTP/1.0) Section 10.15, RFC 2616 (HTTP/1.1) Section 14.43
        See Also:
        Constant Field Values
      • VARY

        public static final java.lang.String VARY
        RFC 2616 (HTTP/1.1) Section 14.44
        See Also:
        Constant Field Values
      • VIA

        public static final java.lang.String VIA
        RFC 2616 (HTTP/1.1) Section 14.45
        See Also:
        Constant Field Values
      • WARNING

        public static final java.lang.String WARNING
        RFC 2616 (HTTP/1.1) Section 14.46
        See Also:
        Constant Field Values
      • WWW_AUTHENTICATE

        public static final java.lang.String WWW_AUTHENTICATE
        RFC 1945 (HTTP/1.0) Section 10.16, RFC 2616 (HTTP/1.1) Section 14.47
        See Also:
        Constant Field Values