MediaType

zio.http.MediaType
See theMediaType companion class
object MediaType

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MediaType.type

Members list

Type members

Inherited classlikes

object application

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object audio

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object chemical

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object font

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object image

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object message

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object model

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object multipart

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object text

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object video

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object x_conference

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any
object x_shader

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def forContentType(contentType: String): Option[MediaType]
def parseCustomMediaType(customMediaType: String): Option[MediaType]

Concrete fields

val mainTypeMap: Map[String, MediaType]

Inherited fields

lazy val any: MediaType

Attributes

Inherited from:
MediaTypes (hidden)

Implicits

Implicits

implicit val schema: Schema[MediaType]