org.apache.hc.core5.http

## Class HttpHeaders

- java.lang.Object
- - org.apache.hc.core5.http.HttpHeaders

-     public final class HttpHeaders
      extends Object

  Constants enumerating standard and common HTTP headers.
  Since:
    4.1

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `ACCEPT`
    `static String` | `ACCEPT_CHARSET`
    `static String` | `ACCEPT_ENCODING`
    `static String` | `ACCEPT_LANGUAGE`
    `static String` | `ACCEPT_RANGES`
    `static String` | `ACCESS_CONTROL_ALLOW_CREDENTIALS` The CORS `Access-Control-Allow-Credentials` response header field name.
    `static String` | `ACCESS_CONTROL_ALLOW_HEADERS` The CORS `Access-Control-Allow-Headers` response header field name.
    `static String` | `ACCESS_CONTROL_ALLOW_METHODS` The CORS `Access-Control-Allow-Methods` response header field name.
    `static String` | `ACCESS_CONTROL_ALLOW_ORIGIN` The CORS `Access-Control-Allow-Origin` response header field name.
    `static String` | `ACCESS_CONTROL_EXPOSE_HEADERS` The CORS `Access-Control-Expose-Headers` response header field name.
    `static String` | `ACCESS_CONTROL_MAX_AGE` The CORS `Access-Control-Max-Age` response header field name.
    `static String` | `ACCESS_CONTROL_REQUEST_HEADERS` The CORS `Access-Control-Request-Headers` request header field name.
    `static String` | `ACCESS_CONTROL_REQUEST_METHOD` The CORS `Access-Control-Request-Method` request header field name.
    `static String` | `AGE`
    `static String` | `ALLOW`
    `static String` | `AUTHORIZATION`
    `static String` | `CACHE_CONTROL`
    `static String` | `CONNECTION`
    `static String` | `CONTENT_DISPOSITION` The HTTP `Content-Disposition` header field name.
    `static String` | `CONTENT_ENCODING`
    `static String` | `CONTENT_LANGUAGE`
    `static String` | `CONTENT_LENGTH`
    `static String` | `CONTENT_LOCATION`
    `static String` | `CONTENT_MD5`
    `static String` | `CONTENT_RANGE`
    `static String` | `CONTENT_TYPE`
    `static String` | `COOKIE` The HTTP `Cookie` header field name.
    `static String` | `DATE`
    `static String` | `DAV`
    `static String` | `DEPTH`
    `static String` | `DESTINATION`
    `static String` | `ETAG`
    `static String` | `EXPECT`
    `static String` | `EXPIRES`
    `static String` | `FROM`
    `static String` | `HOST`
    `static String` | `IF`
    `static String` | `IF_MATCH`
    `static String` | `IF_MODIFIED_SINCE`
    `static String` | `IF_NONE_MATCH`
    `static String` | `IF_RANGE`
    `static String` | `IF_UNMODIFIED_SINCE`
    `static String` | `KEEP_ALIVE`
    `static String` | `LAST_MODIFIED`
    `static String` | `LINK` The HTTP `Link` header field name.
    `static String` | `LOCATION`
    `static String` | `LOCK_TOKEN`
    `static String` | `MAX_FORWARDS`
    `static String` | `OVERWRITE`
    `static String` | `PRAGMA`
    `static String` | `PROXY_AUTHENTICATE`
    `static String` | `PROXY_AUTHORIZATION`
    `static String` | `PROXY_CONNECTION`
    `static String` | `RANGE`
    `static String` | `REFERER`
    `static String` | `RETRY_AFTER`
    `static String` | `SERVER`
    `static String` | `SET_COOKIE` The HTTP `Set-Cookie` header field name.
    `static String` | `STATUS_URI`
    `static String` | `TE`
    `static String` | `TIMEOUT`
    `static String` | `TRAILER`
    `static String` | `TRANSFER_ENCODING`
    `static String` | `UPGRADE`
    `static String` | `USER_AGENT`
    `static String` | `VARY`
    `static String` | `VIA`
    `static String` | `WARNING`
    `static String` | `WWW_AUTHENTICATE`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### ACCEPT

          public static final String ACCEPT

      See Also:
        Constant Field Values

    - #### ACCEPT_CHARSET

          public static final String ACCEPT_CHARSET

      See Also:
        Constant Field Values

    - #### ACCEPT_ENCODING

          public static final String ACCEPT_ENCODING

      See Also:
        Constant Field Values

    - #### ACCEPT_LANGUAGE

          public static final String ACCEPT_LANGUAGE

      See Also:
        Constant Field Values

    - #### ACCEPT_RANGES

          public static final String ACCEPT_RANGES

      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_ALLOW_CREDENTIALS

          public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS

      The CORS `Access-Control-Allow-Credentials` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_ALLOW_HEADERS

          public static final String ACCESS_CONTROL_ALLOW_HEADERS

      The CORS `Access-Control-Allow-Headers` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_ALLOW_METHODS

          public static final String ACCESS_CONTROL_ALLOW_METHODS

      The CORS `Access-Control-Allow-Methods` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_ALLOW_ORIGIN

          public static final String ACCESS_CONTROL_ALLOW_ORIGIN

      The CORS `Access-Control-Allow-Origin` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_EXPOSE_HEADERS

          public static final String ACCESS_CONTROL_EXPOSE_HEADERS

      The CORS `Access-Control-Expose-Headers` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_MAX_AGE

          public static final String ACCESS_CONTROL_MAX_AGE

      The CORS `Access-Control-Max-Age` response header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_REQUEST_HEADERS

          public static final String ACCESS_CONTROL_REQUEST_HEADERS

      The CORS `Access-Control-Request-Headers` request header field name.
      See Also:
        Constant Field Values

    - #### ACCESS_CONTROL_REQUEST_METHOD

          public static final String ACCESS_CONTROL_REQUEST_METHOD

      The CORS `Access-Control-Request-Method` request header field name.
      See Also:
        Constant Field Values

    - #### AGE

          public static final String AGE

      See Also:
        Constant Field Values

    - #### ALLOW

          public static final String ALLOW

      See Also:
        Constant Field Values

    - #### AUTHORIZATION

          public static final String AUTHORIZATION

      See Also:
        Constant Field Values

    - #### CACHE_CONTROL

          public static final String CACHE_CONTROL

      See Also:
        Constant Field Values

    - #### CONNECTION

          public static final String CONNECTION

      See Also:
        Constant Field Values

    - #### CONTENT_ENCODING

          public static final String CONTENT_ENCODING

      See Also:
        Constant Field Values

    - #### CONTENT_DISPOSITION

          public static final String CONTENT_DISPOSITION

      The HTTP `Content-Disposition` header field name.
      See Also:
        Constant Field Values

    - #### CONTENT_LANGUAGE

          public static final String CONTENT_LANGUAGE

      See Also:
        Constant Field Values

    - #### CONTENT_LENGTH

          public static final String CONTENT_LENGTH

      See Also:
        Constant Field Values

    - #### CONTENT_LOCATION

          public static final String CONTENT_LOCATION

      See Also:
        Constant Field Values

    - #### CONTENT_MD5

          public static final String CONTENT_MD5

      See Also:
        Constant Field Values

    - #### CONTENT_RANGE

          public static final String CONTENT_RANGE

      See Also:
        Constant Field Values

    - #### CONTENT_TYPE

          public static final String CONTENT_TYPE

      See Also:
        Constant Field Values

    - #### COOKIE

          public static final String COOKIE

      The HTTP `Cookie` header field name.
      See Also:
        Constant Field Values

    - #### DATE

          public static final String DATE

      See Also:
        Constant Field Values

    - #### DAV

          public static final String DAV

      See Also:
        Constant Field Values

    - #### DEPTH

          public static final String DEPTH

      See Also:
        Constant Field Values

    - #### DESTINATION

          public static final String DESTINATION

      See Also:
        Constant Field Values

    - #### ETAG

          public static final String ETAG

      See Also:
        Constant Field Values

    - #### EXPECT

          public static final String EXPECT

      See Also:
        Constant Field Values

    - #### EXPIRES

          public static final String EXPIRES

      See Also:
        Constant Field Values

    - #### FROM

          public static final String FROM

      See Also:
        Constant Field Values

    - #### HOST

          public static final String HOST

      See Also:
        Constant Field Values

    - #### IF

          public static final String IF

      See Also:
        Constant Field Values

    - #### IF_MATCH

          public static final String IF_MATCH

      See Also:
        Constant Field Values

    - #### IF_MODIFIED_SINCE

          public static final String IF_MODIFIED_SINCE

      See Also:
        Constant Field Values

    - #### IF_NONE_MATCH

          public static final String IF_NONE_MATCH

      See Also:
        Constant Field Values

    - #### IF_RANGE

          public static final String IF_RANGE

      See Also:
        Constant Field Values

    - #### IF_UNMODIFIED_SINCE

          public static final String IF_UNMODIFIED_SINCE

      See Also:
        Constant Field Values

    - #### KEEP_ALIVE

          public static final String KEEP_ALIVE

      See Also:
        Constant Field Values

    - #### LAST_MODIFIED

          public static final String LAST_MODIFIED

      See Also:
        Constant Field Values

    - #### LINK

          public static final String LINK

      The HTTP `Link` header field name.
      See Also:
        Constant Field Values

    - #### LOCATION

          public static final String LOCATION

      See Also:
        Constant Field Values

    - #### LOCK_TOKEN

          public static final String LOCK_TOKEN

      See Also:
        Constant Field Values

    - #### MAX_FORWARDS

          public static final String MAX_FORWARDS

      See Also:
        Constant Field Values

    - #### OVERWRITE

          public static final String OVERWRITE

      See Also:
        Constant Field Values

    - #### PRAGMA

          public static final String PRAGMA

      See Also:
        Constant Field Values

    - #### PROXY_AUTHENTICATE

          public static final String PROXY_AUTHENTICATE

      See Also:
        Constant Field Values

    - #### PROXY_AUTHORIZATION

          public static final String PROXY_AUTHORIZATION

      See Also:
        Constant Field Values

    - #### PROXY_CONNECTION

          public static final String PROXY_CONNECTION

      See Also:
        Constant Field Values

    - #### RANGE

          public static final String RANGE

      See Also:
        Constant Field Values

    - #### REFERER

          public static final String REFERER

      See Also:
        Constant Field Values

    - #### RETRY_AFTER

          public static final String RETRY_AFTER

      See Also:
        Constant Field Values

    - #### SERVER

          public static final String SERVER

      See Also:
        Constant Field Values

    - #### STATUS_URI

          public static final String STATUS_URI

      See Also:
        Constant Field Values

    - #### SET_COOKIE

          public static final String SET_COOKIE

      The HTTP `Set-Cookie` header field name.
      See Also:
        Constant Field Values

    - #### TE

          public static final String TE

      See Also:
        Constant Field Values

    - #### TIMEOUT

          public static final String TIMEOUT

      See Also:
        Constant Field Values

    - #### TRAILER

          public static final String TRAILER

      See Also:
        Constant Field Values

    - #### TRANSFER_ENCODING

          public static final String TRANSFER_ENCODING

      See Also:
        Constant Field Values

    - #### UPGRADE

          public static final String UPGRADE

      See Also:
        Constant Field Values

    - #### USER_AGENT

          public static final String USER_AGENT

      See Also:
        Constant Field Values

    - #### VARY

          public static final String VARY

      See Also:
        Constant Field Values

    - #### VIA

          public static final String VIA

      See Also:
        Constant Field Values

    - #### WARNING

          public static final String WARNING

      See Also:
        Constant Field Values

    - #### WWW_AUTHENTICATE

          public static final String WWW_AUTHENTICATE

      See Also:
        Constant Field Values

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.