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

Type Members

  1. class Macros extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Binary: Boolean
    Definition Classes
    MimeDB
  5. val Compressible: Boolean
    Definition Classes
    MimeDB
  6. val NotBinary: Boolean
    Definition Classes
    MimeDB
  7. val Uncompressible: Boolean
    Definition Classes
    MimeDB
  8. lazy val all: Map[(String, String), MediaType]
  9. lazy val allMediaTypes: List[MediaType]
    Definition Classes
    MimeDB
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. val extensionMap: Map[String, MediaType]
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def forExtension(ext: String): Option[MediaType]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. implicit val http4sEqForMediaType: Eq[MediaType]
  20. implicit val http4sHttpCodecForMediaType: HttpCodec[MediaType]
  21. implicit val http4sShowForMediaType: Show[MediaType]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def multipartType(subType: String, boundary: Option[String] = None): MediaType
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def parse(s: String): ParseResult[MediaType]

    Parse a MediaType

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. lazy val text/event-stream: MediaType
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unsafeParse(s: String): MediaType

    Parse a MediaType

    Parse a MediaType

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

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. object application extends application_0 with application_1 with application_2 with application_3
    Definition Classes
    MimeDB
  36. object audio
    Definition Classes
    MimeDB
  37. object chemical
    Definition Classes
    MimeDB
  38. object font
    Definition Classes
    MimeDB
  39. object image
    Definition Classes
    MimeDB
  40. object message
    Definition Classes
    MimeDB
  41. object model
    Definition Classes
    MimeDB
  42. object multipart
    Definition Classes
    MimeDB
  43. object text
    Definition Classes
    MimeDB
  44. object video
    Definition Classes
    MimeDB
  45. object x_conference
    Definition Classes
    MimeDB
  46. object x_shader
    Definition Classes
    MimeDB

Deprecated Value Members

  1. macro def mediaType(s: String): MediaType

    Literal syntax for MediaTypes.

    Literal syntax for MediaTypes. Invalid or non-literal arguments are rejected at compile time.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20) use mediaType"" string interpolation instead

Inherited from MimeDB

Inherited from AnyRef

Inherited from Any

Ungrouped