Packages

object MediaType extends MimeDB

Source
MediaType.scala
Linear Supertypes
MimeDB, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediaType
  2. MimeDB
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val Binary: Boolean
    Definition Classes
    MimeDB
  2. val Compressible: Boolean
    Definition Classes
    MimeDB
  3. val NotBinary: Boolean
    Definition Classes
    MimeDB
  4. val Uncompressible: Boolean
    Definition Classes
    MimeDB
  5. lazy val all: Map[(String, String), MediaType]
  6. lazy val allMediaTypes: List[MediaType]
    Definition Classes
    MimeDB
  7. val extensionMap: Map[String, MediaType]
  8. def forExtension(ext: String): Option[MediaType]
  9. implicit val http4sEqForMediaType: Eq[MediaType]
  10. implicit val http4sHttpCodecForMediaType: HttpCodec[MediaType]
  11. implicit val http4sShowForMediaType: Show[MediaType]
  12. def multipartType(subType: String, boundary: Option[String] = None): MediaType
  13. def parse(s: String): ParseResult[MediaType]

    Parse a MediaType

  14. val parser: Parser[MediaType]
  15. lazy val text/event-stream: MediaType
  16. def unsafeParse(s: String): MediaType

    Parse a MediaType

    Parse a MediaType

    For totality, call #parse. For compile-time verification of literals, call #mediaType.

  17. object application extends application_0 with application_1 with application_2 with application_3
    Definition Classes
    MimeDB
  18. object audio
    Definition Classes
    MimeDB
  19. object chemical
    Definition Classes
    MimeDB
  20. object font
    Definition Classes
    MimeDB
  21. object image
    Definition Classes
    MimeDB
  22. object message
    Definition Classes
    MimeDB
  23. object model
    Definition Classes
    MimeDB
  24. object multipart
    Definition Classes
    MimeDB
  25. object text
    Definition Classes
    MimeDB
  26. object video
    Definition Classes
    MimeDB
  27. object x_conference
    Definition Classes
    MimeDB
  28. object x_shader
    Definition Classes
    MimeDB