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 fromValue
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. 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 ->[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()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val binary: Boolean
  7. def charAt(arg0: Int): Char
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String → CharSequence
  8. def chars(): IntStream
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    CharSequence
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def codePointAt(arg0: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  11. def codePointBefore(arg0: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  12. def codePointCount(arg0: Int, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  13. def codePoints(): IntStream
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    CharSequence
  14. def compareTo(arg0: String): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String → Comparable
  15. def compareToIgnoreCase(arg0: String): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  16. val compressible: Boolean
  17. def concat(arg0: String): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  18. def contains(arg0: CharSequence): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  19. def contentEquals(arg0: CharSequence): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  20. def contentEquals(arg0: StringBuffer): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  21. def endsWith(arg0: String): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  22. 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
  23. 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
  24. 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
  25. 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
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(obj: Any): Boolean
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  28. def equalsIgnoreCase(arg0: String): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  29. val extensions: Map[String, String]
    Definition Classes
    MediaRange
  30. val fileExtensions: Seq[String]
  31. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. 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()
  33. def getBytes(): Array[Byte]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  34. def getBytes(arg0: java.nio.charset.Charset): Array[Byte]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  35. def getBytes(arg0: String): Array[Byte]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
    Annotations
    @throws( ... )
  36. def getChars(arg0: Int, arg1: Int, arg2: Array[Char], arg3: Int): Unit
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  38. def hashCode(): Int
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  39. def indexOf(arg0: String, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  40. def indexOf(arg0: String): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  41. def indexOf(arg0: Int, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  42. def indexOf(arg0: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  43. def intern(): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  44. def isApplication: Boolean
    Definition Classes
    MediaRange
  45. def isAudio: Boolean
    Definition Classes
    MediaRange
  46. def isEmpty(): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  47. def isImage: Boolean
    Definition Classes
    MediaRange
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. def isMessage: Boolean
    Definition Classes
    MediaRange
  50. def isMultipart: Boolean
    Definition Classes
    MediaRange
  51. def isText: Boolean
    Definition Classes
    MediaRange
  52. def isVideo: Boolean
    Definition Classes
    MediaRange
  53. def lastIndexOf(arg0: String, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  54. def lastIndexOf(arg0: String): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  55. def lastIndexOf(arg0: Int, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  56. def lastIndexOf(arg0: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  57. def length(): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String → CharSequence
  58. val mainType: String
    Definition Classes
    MediaRange
  59. def matches(arg0: String): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  60. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. final def notify(): Unit
    Definition Classes
    AnyRef
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  63. def offsetByCodePoints(arg0: Int, arg1: Int): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  64. 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
  65. 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( ... )
  66. def regionMatches(arg0: Boolean, arg1: Int, arg2: String, arg3: Int, arg4: Int): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  67. def regionMatches(arg0: Int, arg1: String, arg2: Int, arg3: Int): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  68. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    MediaTypeMediaRangeRenderable
  69. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  70. def replace(arg0: CharSequence, arg1: CharSequence): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  71. def replace(arg0: Char, arg1: Char): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  72. def replaceAll(arg0: String, arg1: String): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  73. def replaceFirst(arg0: String, arg1: String): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  74. def satisfiedBy(mediaType: MediaRange): Boolean

    Does that mediaRange satisfy this ranges requirements

    Does that mediaRange satisfy this ranges requirements

    Definition Classes
    MediaTypeMediaRange
  75. final def satisfies(mediaType: MediaType): Boolean
  76. final def satisfies(mediaRange: MediaRange): Boolean
    Definition Classes
    MediaRange
  77. def split(arg0: String): Array[String]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  78. def split(arg0: String, arg1: Int): Array[String]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  79. def startsWith(arg0: String): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  80. def startsWith(arg0: String, arg1: Int): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  81. def subSequence(arg0: Int, arg1: Int): CharSequence
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String → CharSequence
  82. val subType: String
  83. def substring(arg0: Int, arg1: Int): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  84. def substring(arg0: Int): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  85. 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
  86. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  87. def toCharArray(): Array[Char]
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  88. def toLowerCase(): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  89. def toLowerCase(arg0: Locale): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  90. def toString(): String
    Definition Classes
    MediaTypeMediaRangeRenderable → AnyRef → Any
  91. def toUpperCase(): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  92. def toUpperCase(arg0: Locale): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  93. def trim(): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. def withExtensions(ext: Map[String, String]): MediaType
    Definition Classes
    MediaTypeMediaRange
  98. def withQValue(q: QValue): MediaRangeAndQValue
    Definition Classes
    MediaRange
  99. 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. final def +(arg0: Any): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mediaType: String).+(arg0)
    Definition Classes
    String
  2. 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.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mediaType: any2stringadd[MediaType]).+(other)
    Definition Classes
    any2stringadd
  3. def equals(arg0: Any): Boolean
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    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).equals(arg0)
    Definition Classes
    String → AnyRef → Any
  4. def hashCode(): Int
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    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).hashCode()
    Definition Classes
    String → AnyRef → Any
  5. 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
  6. def toString(): String
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    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).toString()
    Definition Classes
    String → CharSequence → AnyRef → Any

Deprecated Value Members

  1. def getBytes(arg0: Int, arg1: Int, arg2: Array[Byte], arg3: Int): Unit
    Implicit
    This member is added by an implicit conversion from MediaType to String performed by method fromValue in org.http4s.MediaRange.
    Definition Classes
    String
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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 fromValue from MediaType to 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