ContentEncoding

zio.http.Header.ContentEncoding
See theContentEncoding companion trait
object ContentEncoding extends HeaderType

Attributes

Companion
trait
Source
Header.scala
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case object Br extends ContentEncoding

A format using the Brotli algorithm.

A format using the Brotli algorithm.

Attributes

Source
Header.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
Br.type
case object Compress extends ContentEncoding

A format using the Lempel-Ziv-Welch (LZW) algorithm. The value name was taken from the UNIX compress program, which implemented this algorithm. Like the compress program, which has disappeared from most UNIX distributions, this content-encoding is not used by many browsers today, partly because of a patent issue (it expired in 2003).

A format using the Lempel-Ziv-Welch (LZW) algorithm. The value name was taken from the UNIX compress program, which implemented this algorithm. Like the compress program, which has disappeared from most UNIX distributions, this content-encoding is not used by many browsers today, partly because of a patent issue (it expired in 2003).

Attributes

Source
Header.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
Compress.type
case object Deflate extends ContentEncoding

Using the zlib structure (defined in RFC 1950) with the deflate compression algorithm (defined in RFC 1951).

Using the zlib structure (defined in RFC 1950) with the deflate compression algorithm (defined in RFC 1951).

Attributes

Source
Header.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
Deflate.type
case object GZip extends ContentEncoding

A format using the Lempel-Ziv coding (LZ77), with a 32-bit CRC. This is the original format of the UNIX gzip program. The HTTP/1.1 standard also recommends that the servers supporting this content-encoding should recognize x-gzip as an alias, for compatibility purposes.

A format using the Lempel-Ziv coding (LZ77), with a 32-bit CRC. This is the original format of the UNIX gzip program. The HTTP/1.1 standard also recommends that the servers supporting this content-encoding should recognize x-gzip as an alias, for compatibility purposes.

Attributes

Source
Header.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
GZip.type
final case class Multiple(encodings: NonEmptyChunk[ContentEncoding]) extends ContentEncoding

Maintains a list of ContentEncoding values.

Maintains a list of ContentEncoding values.

Attributes

Source
Header.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Types

override type HeaderValue = ContentEncoding

Attributes

Source
Header.scala

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
Source
Header.scala

Value parameters

value

of string , seperated for multiple values

Attributes

Returns

ContentEncoding Note: This implementation ignores the invalid string that might occur in MultipleEncodings case.

Source
Header.scala

Attributes

Source
Header.scala

Inherited methods

Attributes

Inherited from:
HeaderType
Source
Header.scala

Attributes

Inherited from:
HeaderType
Source
Header.scala
override def toHeaders(value: HeaderValue): Headers

Attributes

Definition Classes
Inherited from:
HeaderType
Source
Header.scala