Packages

sealed class MediaType extends MediaRange

Source
MediaType.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediaType
  2. MediaRange
  3. Renderable
  4. AnyRef
  5. Any
Implicitly
  1. by fromValue
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MediaType(mainType: String, subType: String, compressible: Boolean = false, binary: Boolean = false, fileExtensions: Seq[String] = Nil, extensions: Map[String, String] = Map.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MediaType to any2stringadd[MediaType] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MediaType, B)
    Implicit
    This member is added by an implicit conversion from MediaType to ArrowAssoc[MediaType] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val binary: Boolean
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val compressible: Boolean
  10. def ensuring(cond: (MediaType) ⇒ Boolean, msg: ⇒ Any): MediaType
    Implicit
    This member is added by an implicit conversion from MediaType to Ensuring[MediaType] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (MediaType) ⇒ Boolean): MediaType
    Implicit
    This member is added by an implicit conversion from MediaType to Ensuring[MediaType] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): MediaType
    Implicit
    This member is added by an implicit conversion from MediaType to Ensuring[MediaType] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): MediaType
    Implicit
    This member is added by an implicit conversion from MediaType to Ensuring[MediaType] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(obj: Any): Boolean
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  16. val extensions: Map[String, String]
    Definition Classes
    MediaRange
  17. val fileExtensions: Seq[String]
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MediaType to StringFormat[MediaType] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  22. def isApplication: Boolean
    Definition Classes
    MediaRange
  23. def isAudio: Boolean
    Definition Classes
    MediaRange
  24. def isImage: Boolean
    Definition Classes
    MediaRange
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isMessage: Boolean
    Definition Classes
    MediaRange
  27. def isMultipart: Boolean
    Definition Classes
    MediaRange
  28. def isText: Boolean
    Definition Classes
    MediaRange
  29. def isVideo: Boolean
    Definition Classes
    MediaRange
  30. val mainType: String
    Definition Classes
    MediaRange
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def productArity: Int
    Implicit
    This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
    Definition Classes
    Product2 → Product
  35. def productElement(n: Int): Any
    Implicit
    This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
    Definition Classes
    Product2 → Product
    Annotations
    @throws( ... )
  36. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    MediaTypeMediaRangeRenderable
  37. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  38. def satisfiedBy(mediaType: MediaRange): Boolean

    Does that mediaRange satisfy this ranges requirements

    Does that mediaRange satisfy this ranges requirements

    Definition Classes
    MediaTypeMediaRange
  39. final def satisfies(mediaType: MediaType): Boolean
  40. final def satisfies(mediaRange: MediaRange): Boolean
    Definition Classes
    MediaRange
  41. val subType: String
  42. def swap: (String, String)
    Implicit
    This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
    Definition Classes
    Tuple2
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    MediaTypeMediaRangeRenderable → AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  48. def withExtensions(ext: Map[String, String]): MediaType
    Definition Classes
    MediaTypeMediaRange
  49. def withQValue(q: QValue): MediaRangeAndQValue
    Definition Classes
    MediaRange
  50. def [B](y: B): (MediaType, B)
    Implicit
    This member is added by an implicit conversion from MediaType to ArrowAssoc[MediaType] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def toString(): String
    Implicit
    This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mediaType: (String, String)).toString()
    Definition Classes
    Tuple2 → AnyRef → Any

Inherited from MediaRange

Inherited from Renderable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion fromValue from MediaType to (String, String)

Inherited by implicit conversion any2stringadd from MediaType to any2stringadd[MediaType]

Inherited by implicit conversion StringFormat from MediaType to StringFormat[MediaType]

Inherited by implicit conversion Ensuring from MediaType to Ensuring[MediaType]

Inherited by implicit conversion ArrowAssoc from MediaType to ArrowAssoc[MediaType]

Ungrouped