Accept

zio.http.Header.Accept
See theAccept companion class
object Accept extends HeaderType

Attributes

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

Members list

Type members

Classlikes

final case class MediaTypeWithQFactor(mediaType: MediaType, qFactor: Option[Double])

The Accept header value one or more MIME types optionally weighed with quality factor.

The Accept header value one or more MIME types optionally weighed with quality factor.

Attributes

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

Attributes

Companion
class
Source
Header.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Types

override type HeaderValue = Accept

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

def apply(mediaType: MediaType, qFactor: Option[Double]): Accept

Attributes

Source
Header.scala
def apply(first: MediaType, rest: MediaType*): Accept

Attributes

Source
Header.scala

Attributes

Source
Header.scala
override def name: String

Attributes

Definition Classes
Source
Header.scala
def parse(value: String): Either[String, Accept]

Attributes

Source
Header.scala
def render(header: Accept): String

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