Class Http.HeaderValues

java.lang.Object
io.helidon.common.http.Http.HeaderValues
Enclosing class:
Http

public static final class Http.HeaderValues extends Object
Values of commonly used headers.
  • Field Details

    • ACCEPT_RANGES_BYTES

      public static final Http.HeaderValue ACCEPT_RANGES_BYTES
      Accept byte ranges for file download.
    • ACCEPT_RANGES_NONE

      public static final Http.HeaderValue ACCEPT_RANGES_NONE
      Not accepting byte ranges for file download.
    • TRANSFER_ENCODING_CHUNKED

      public static final Http.HeaderValue TRANSFER_ENCODING_CHUNKED
      Chunked transfer encoding. Used in HTTP/1.
    • CONNECTION_KEEP_ALIVE

      public static final Http.HeaderValue CONNECTION_KEEP_ALIVE
      Connection keep-alive. Used in HTTP/1.
    • CONNECTION_CLOSE

      public static final Http.HeaderValue CONNECTION_CLOSE
      Connection close. Used in HTTP/1.
    • CONTENT_TYPE_JSON

      public static final Http.HeaderValue CONTENT_TYPE_JSON
      Content type application/json with no charset.
    • CONTENT_TYPE_TEXT_PLAIN

      public static final Http.HeaderValue CONTENT_TYPE_TEXT_PLAIN
      Content type text plain with no charset.
    • CONTENT_TYPE_OCTET_STREAM

      public static final Http.HeaderValue CONTENT_TYPE_OCTET_STREAM
      Content type octet stream.
    • ACCEPT_JSON

      public static final Http.HeaderValue ACCEPT_JSON
      Accept application/json.
    • ACCEPT_TEXT

      public static final Http.HeaderValue ACCEPT_TEXT
      Accept text/plain with UTF-8.
    • EXPECT_100

      public static final Http.HeaderValue EXPECT_100
      Expect 100 header.
    • CONTENT_LENGTH_ZERO

      public static final Http.HeaderValue CONTENT_LENGTH_ZERO
      Content length with 0 value.
    • CACHE_NO_CACHE

      public static final Http.HeaderValue CACHE_NO_CACHE
      Cache control without any caching.
    • CACHE_NORMAL

      public static final Http.HeaderValue CACHE_NORMAL
      Cache control that allows caching with no transform.
    • TE_TRAILERS

      public static final Http.HeaderValue TE_TRAILERS
      TE header set to trailers, used to enable trailer headers.