Packages

sealed class MediaType extends MediaRange

Source
MediaType.scala
Linear Supertypes
MediaRange, Renderable, AnyRef, Any
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. val binary: Boolean
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. val compressible: Boolean
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. def equals(obj: Any): Boolean
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  17. 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
  18. val extensions: Map[String, String]
    Definition Classes
    MediaRange
  19. val fileExtensions: Seq[String]
  20. 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
  21. 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
  22. 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( ... )
  23. 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
  24. def hashCode(): Int
    Definition Classes
    MediaTypeMediaRange → AnyRef → Any
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. def isApplication: Boolean
    Definition Classes
    MediaRange
  31. def isAudio: Boolean
    Definition Classes
    MediaRange
  32. 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
  33. def isImage: Boolean
    Definition Classes
    MediaRange
  34. def isMessage: Boolean
    Definition Classes
    MediaRange
  35. def isMultipart: Boolean
    Definition Classes
    MediaRange
  36. def isText: Boolean
    Definition Classes
    MediaRange
  37. def isVideo: Boolean
    Definition Classes
    MediaRange
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. val mainType: String
    Definition Classes
    MediaRange
  44. 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
  45. 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
  46. 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
  47. 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( ... )
  48. 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
  49. 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
  50. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    MediaTypeMediaRangeRenderable
  51. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  52. 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
  53. 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
  54. 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
  55. 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
  56. def satisfiedBy(mediaType: MediaRange): Boolean

    Does that mediaRange satisfy this ranges requirements

    Does that mediaRange satisfy this ranges requirements

    Definition Classes
    MediaTypeMediaRange
  57. final def satisfies(mediaType: MediaType): Boolean
  58. final def satisfies(mediaRange: MediaRange): Boolean
    Definition Classes
    MediaRange
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. val subType: String
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. def toString(): String
    Definition Classes
    MediaTypeMediaRangeRenderable → AnyRef → Any
  72. 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
  73. 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
  74. 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
  75. def withExtensions(ext: Map[String, String]): MediaType
    Definition Classes
    MediaTypeMediaRange
  76. def withQValue(q: QValue): MediaRangeAndQValue
    Definition Classes
    MediaRange

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 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
  3. 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
  4. 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
  5. 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.