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 extends application_0, application_1, application_2, application_3

Attributes

Inherited from:
MediaTypes (hidden)
Supertypes
trait application_3
trait application_2
trait application_1
trait application_0
class Object
trait Matchable
class Any
Show all
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 types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

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 forFileExtension(ext: 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)