Packages

sealed class MediaType extends MediaRange

Source
MediaType.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediaType
  2. MediaRange
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. 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: List[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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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: List[String]
  18. def finalize(): Unit
    Attributes
    protected[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 satisfiedBy(mediaType: MediaRange): Boolean

    Does that mediaRange satisfy this ranges requirements

    Does that mediaRange satisfy this ranges requirements

    Definition Classes
    MediaTypeMediaRange
  35. final def satisfies(mediaType: MediaType): Boolean
  36. final def satisfies(mediaRange: MediaRange): Boolean
    Definition Classes
    MediaRange
  37. val subType: String
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. def withExtensions(ext: Map[String, String]): MediaType
    Definition Classes
    MediaTypeMediaRange
  44. def withQValue(q: QValue): MediaRangeAndQValue
    Definition Classes
    MediaRange
  45. 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

Inherited from MediaRange

Inherited from AnyRef

Inherited from Any

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