Class HttpHeaders

java.lang.Object
com.google.common.net.HttpHeaders

@GwtCompatible @Deprecated(since="2022-12-01") public final class HttpHeaders extends Object
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Contains constant definitions for the HTTP header field names. See:
Since:
11.0
  • Field Details

    • CACHE_CONTROL

      public static final String CACHE_CONTROL
      Deprecated.
      The HTTP Cache-Control header field name.
      See Also:
    • CONTENT_LENGTH

      public static final String CONTENT_LENGTH
      Deprecated.
      The HTTP Content-Length header field name.
      See Also:
    • CONTENT_TYPE

      public static final String CONTENT_TYPE
      Deprecated.
      The HTTP Content-Type header field name.
      See Also:
    • DATE

      public static final String DATE
      Deprecated.
      The HTTP Date header field name.
      See Also:
    • PRAGMA

      public static final String PRAGMA
      Deprecated.
      The HTTP Pragma header field name.
      See Also:
    • VIA

      public static final String VIA
      Deprecated.
      The HTTP Via header field name.
      See Also:
    • WARNING

      public static final String WARNING
      Deprecated.
      The HTTP Warning header field name.
      See Also:
    • ACCEPT

      public static final String ACCEPT
      Deprecated.
      The HTTP Accept header field name.
      See Also:
    • ACCEPT_CHARSET

      public static final String ACCEPT_CHARSET
      Deprecated.
      The HTTP Accept-Charset header field name.
      See Also:
    • ACCEPT_ENCODING

      public static final String ACCEPT_ENCODING
      Deprecated.
      The HTTP Accept-Encoding header field name.
      See Also:
    • ACCEPT_LANGUAGE

      public static final String ACCEPT_LANGUAGE
      Deprecated.
      The HTTP Accept-Language header field name.
      See Also:
    • ACCESS_CONTROL_REQUEST_HEADERS

      public static final String ACCESS_CONTROL_REQUEST_HEADERS
      Deprecated.
      The HTTP Access-Control-Request-Headers header field name.
      See Also:
    • ACCESS_CONTROL_REQUEST_METHOD

      public static final String ACCESS_CONTROL_REQUEST_METHOD
      Deprecated.
      The HTTP Access-Control-Request-Method header field name.
      See Also:
    • AUTHORIZATION

      public static final String AUTHORIZATION
      Deprecated.
      The HTTP Authorization header field name.
      See Also:
    • CONNECTION

      public static final String CONNECTION
      Deprecated.
      The HTTP Connection header field name.
      See Also:
    • EXPECT

      public static final String EXPECT
      Deprecated.
      The HTTP Expect header field name.
      See Also:
    • FROM

      public static final String FROM
      Deprecated.
      The HTTP From header field name.
      See Also:
    • HOST

      public static final String HOST
      Deprecated.
      The HTTP Host header field name.
      See Also:
    • IF_MATCH

      public static final String IF_MATCH
      Deprecated.
      The HTTP If-Match header field name.
      See Also:
    • IF_MODIFIED_SINCE

      public static final String IF_MODIFIED_SINCE
      Deprecated.
      The HTTP If-Modified-Since header field name.
      See Also:
    • IF_NONE_MATCH

      public static final String IF_NONE_MATCH
      Deprecated.
      The HTTP If-None-Match header field name.
      See Also:
    • IF_RANGE

      public static final String IF_RANGE
      Deprecated.
      The HTTP If-Range header field name.
      See Also:
    • IF_UNMODIFIED_SINCE

      public static final String IF_UNMODIFIED_SINCE
      Deprecated.
      The HTTP If-Unmodified-Since header field name.
      See Also:
    • LAST_EVENT_ID

      public static final String LAST_EVENT_ID
      Deprecated.
      The HTTP Last-Event-ID header field name.
      See Also:
    • MAX_FORWARDS

      public static final String MAX_FORWARDS
      Deprecated.
      The HTTP Max-Forwards header field name.
      See Also:
    • ORIGIN

      public static final String ORIGIN
      Deprecated.
      The HTTP Origin header field name.
      See Also:
    • PROXY_AUTHORIZATION

      public static final String PROXY_AUTHORIZATION
      Deprecated.
      The HTTP Proxy-Authorization header field name.
      See Also:
    • RANGE

      public static final String RANGE
      Deprecated.
      The HTTP Range header field name.
      See Also:
    • REFERER

      public static final String REFERER
      Deprecated.
      The HTTP Referer header field name.
      See Also:
    • TE

      public static final String TE
      Deprecated.
      The HTTP TE header field name.
      See Also:
    • UPGRADE

      public static final String UPGRADE
      Deprecated.
      The HTTP Upgrade header field name.
      See Also:
    • USER_AGENT

      public static final String USER_AGENT
      Deprecated.
      The HTTP User-Agent header field name.
      See Also:
    • ACCEPT_RANGES

      public static final String ACCEPT_RANGES
      Deprecated.
      The HTTP Accept-Ranges header field name.
      See Also:
    • ACCESS_CONTROL_ALLOW_HEADERS

      public static final String ACCESS_CONTROL_ALLOW_HEADERS
      Deprecated.
      The HTTP Access-Control-Allow-Headers header field name.
      See Also:
    • ACCESS_CONTROL_ALLOW_METHODS

      public static final String ACCESS_CONTROL_ALLOW_METHODS
      Deprecated.
      The HTTP Access-Control-Allow-Methods header field name.
      See Also:
    • ACCESS_CONTROL_ALLOW_ORIGIN

      public static final String ACCESS_CONTROL_ALLOW_ORIGIN
      Deprecated.
      The HTTP Access-Control-Allow-Origin header field name.
      See Also:
    • ACCESS_CONTROL_ALLOW_CREDENTIALS

      public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS
      Deprecated.
      The HTTP Access-Control-Allow-Credentials header field name.
      See Also:
    • ACCESS_CONTROL_EXPOSE_HEADERS

      public static final String ACCESS_CONTROL_EXPOSE_HEADERS
      Deprecated.
      The HTTP Access-Control-Expose-Headers header field name.
      See Also:
    • ACCESS_CONTROL_MAX_AGE

      public static final String ACCESS_CONTROL_MAX_AGE
      Deprecated.
      The HTTP Access-Control-Max-Age header field name.
      See Also:
    • AGE

      public static final String AGE
      Deprecated.
      The HTTP Age header field name.
      See Also:
    • ALLOW

      public static final String ALLOW
      Deprecated.
      The HTTP Allow header field name.
      See Also:
    • CONTENT_DISPOSITION

      public static final String CONTENT_DISPOSITION
      Deprecated.
      The HTTP Content-Disposition header field name.
      See Also:
    • CONTENT_ENCODING

      public static final String CONTENT_ENCODING
      Deprecated.
      The HTTP Content-Encoding header field name.
      See Also:
    • CONTENT_LANGUAGE

      public static final String CONTENT_LANGUAGE
      Deprecated.
      The HTTP Content-Language header field name.
      See Also:
    • CONTENT_LOCATION

      public static final String CONTENT_LOCATION
      Deprecated.
      The HTTP Content-Location header field name.
      See Also:
    • CONTENT_MD5

      public static final String CONTENT_MD5
      Deprecated.
      The HTTP Content-MD5 header field name.
      See Also:
    • CONTENT_RANGE

      public static final String CONTENT_RANGE
      Deprecated.
      The HTTP Content-Range header field name.
      See Also:
    • CONTENT_SECURITY_POLICY

      public static final String CONTENT_SECURITY_POLICY
      Deprecated.
      The HTTP Content-Security-Policy header field name.
      Since:
      15.0
      See Also:
    • CONTENT_SECURITY_POLICY_REPORT_ONLY

      public static final String CONTENT_SECURITY_POLICY_REPORT_ONLY
      Deprecated.
      The HTTP Content-Security-Policy-Report-Only header field name.
      Since:
      15.0
      See Also:
    • ETAG

      public static final String ETAG
      Deprecated.
      The HTTP ETag header field name.
      See Also:
    • EXPIRES

      public static final String EXPIRES
      Deprecated.
      The HTTP Expires header field name.
      See Also:
    • LAST_MODIFIED

      public static final String LAST_MODIFIED
      Deprecated.
      The HTTP Last-Modified header field name.
      See Also:
    • LOCATION

      public static final String LOCATION
      Deprecated.
      The HTTP Location header field name.
      See Also:
    • P3P

      public static final String P3P
      Deprecated.
      The HTTP P3P header field name. Limited browser support.
      See Also:
    • PROXY_AUTHENTICATE

      public static final String PROXY_AUTHENTICATE
      Deprecated.
      The HTTP Proxy-Authenticate header field name.
      See Also:
    • REFRESH

      public static final String REFRESH
      Deprecated.
      The HTTP Refresh header field name. Non-standard header supported by most browsers.
      See Also:
    • RETRY_AFTER

      public static final String RETRY_AFTER
      Deprecated.
      The HTTP Retry-After header field name.
      See Also:
    • SERVER

      public static final String SERVER
      Deprecated.
      The HTTP Server header field name.
      See Also:
    • SET_COOKIE2

      public static final String SET_COOKIE2
      Deprecated.
      The HTTP Set-Cookie2 header field name.
      See Also:
    • STRICT_TRANSPORT_SECURITY

      public static final String STRICT_TRANSPORT_SECURITY
      Deprecated.
      The HTTP Strict-Transport-Security header field name.
      Since:
      15.0
      See Also:
    • TIMING_ALLOW_ORIGIN

      public static final String TIMING_ALLOW_ORIGIN
      Deprecated.
      The HTTP Timing-Allow-Origin header field name.
      Since:
      15.0
      See Also:
    • TRAILER

      public static final String TRAILER
      Deprecated.
      The HTTP Trailer header field name.
      See Also:
    • TRANSFER_ENCODING

      public static final String TRANSFER_ENCODING
      Deprecated.
      The HTTP Transfer-Encoding header field name.
      See Also:
    • VARY

      public static final String VARY
      Deprecated.
      The HTTP Vary header field name.
      See Also:
    • WWW_AUTHENTICATE

      public static final String WWW_AUTHENTICATE
      Deprecated.
      The HTTP WWW-Authenticate header field name.
      See Also:
    • DNT

      public static final String DNT
      Deprecated.
      The HTTP DNT header field name.
      See Also:
    • X_CONTENT_TYPE_OPTIONS

      public static final String X_CONTENT_TYPE_OPTIONS
      Deprecated.
      The HTTP X-Content-Type-Options header field name.
      See Also:
    • X_DO_NOT_TRACK

      public static final String X_DO_NOT_TRACK
      Deprecated.
      The HTTP X-Do-Not-Track header field name.
      See Also:
    • X_FORWARDED_FOR

      public static final String X_FORWARDED_FOR
      Deprecated.
      The HTTP X-Forwarded-For header field name.
      See Also:
    • X_FORWARDED_PROTO

      public static final String X_FORWARDED_PROTO
      Deprecated.
      The HTTP X-Forwarded-Proto header field name.
      See Also:
    • X_FRAME_OPTIONS

      public static final String X_FRAME_OPTIONS
      Deprecated.
      The HTTP X-Frame-Options header field name.
      See Also:
    • X_POWERED_BY

      public static final String X_POWERED_BY
      Deprecated.
      The HTTP X-Powered-By header field name.
      See Also:
    • PUBLIC_KEY_PINS

      @Beta public static final String PUBLIC_KEY_PINS
      Deprecated.
      The HTTP Public-Key-Pins header field name.
      Since:
      15.0
      See Also:
    • PUBLIC_KEY_PINS_REPORT_ONLY

      @Beta public static final String PUBLIC_KEY_PINS_REPORT_ONLY
      Deprecated.
      The HTTP Public-Key-Pins-Report-Only header field name.
      Since:
      15.0
      See Also:
    • X_REQUESTED_WITH

      public static final String X_REQUESTED_WITH
      Deprecated.
      The HTTP X-Requested-With header field name.
      See Also:
    • X_USER_IP

      public static final String X_USER_IP
      Deprecated.
      The HTTP X-User-IP header field name.
      See Also:
    • X_XSS_PROTECTION

      public static final String X_XSS_PROTECTION
      Deprecated.
      The HTTP X-XSS-Protection header field name.
      See Also: