object MediaTypes extends ObjectRegistry[(String, String), MediaType]

Source
MediaType.scala
Linear Supertypes
ObjectRegistry[(String, String), MediaType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediaTypes
  2. ObjectRegistry
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type FindCustom = (String, String) => Option[MediaType]

    Function used to find a custom media type.

    Function used to find a custom media type. Called before the predefined media types. Strings will be lowercase.

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 application/atom+xml: WithOpenCharset
  5. val application/base64: WithOpenCharset
  6. val application/cbor: Binary
  7. val application/gnutar: Binary
  8. val application/grpc+proto: Binary
  9. val application/java-archive: Binary
  10. val application/javascript: WithOpenCharset
  11. val application/json: WithFixedCharset
  12. val application/json-patch+json: WithFixedCharset
  13. val application/lha: Binary
  14. val application/lzx: Binary
  15. val application/merge-patch+json: WithFixedCharset
  16. val application/msword: Binary
  17. val application/octet-stream: Binary
  18. val application/pdf: Binary
  19. val application/postscript: Binary
  20. val application/problem+json: WithFixedCharset
  21. val application/problem+xml: WithOpenCharset
  22. val application/rss+xml: WithOpenCharset
  23. val application/soap+xml: WithOpenCharset
  24. val application/vnd.api+json: WithFixedCharset
  25. val application/vnd.google-earth.kml+xml: WithOpenCharset
  26. val application/vnd.google-earth.kmz: Binary
  27. val application/vnd.ms-excel: Binary
  28. val application/vnd.ms-excel.addin.macroEnabled.12: Binary
  29. val application/vnd.ms-excel.sheet.binary.macroEnabled.12: Binary
  30. val application/vnd.ms-excel.sheet.macroEnabled.12: Binary
  31. val application/vnd.ms-excel.template.macroEnabled.12: Binary
  32. val application/vnd.ms-fontobject: Binary
  33. val application/vnd.ms-powerpoint: Binary
  34. val application/vnd.ms-powerpoint.addin.macroEnabled.12: Binary
  35. val application/vnd.ms-powerpoint.presentation.macroEnabled.12: Binary
  36. val application/vnd.ms-powerpoint.slideshow.macroEnabled.12: Binary
  37. val application/vnd.ms-word.document.macroEnabled.12: Binary
  38. val application/vnd.ms-word.template.macroEnabled.12: Binary
  39. val application/vnd.oasis.opendocument.chart: Binary
  40. val application/vnd.oasis.opendocument.database: Binary
  41. val application/vnd.oasis.opendocument.formula: Binary
  42. val application/vnd.oasis.opendocument.graphics: Binary
  43. val application/vnd.oasis.opendocument.image: Binary
  44. val application/vnd.oasis.opendocument.presentation: Binary
  45. val application/vnd.oasis.opendocument.spreadsheet: Binary
  46. val application/vnd.oasis.opendocument.text: Binary
  47. val application/vnd.oasis.opendocument.text-master: Binary
  48. val application/vnd.oasis.opendocument.text-web: Binary
  49. val application/vnd.openxmlformats-officedocument.presentationml.presentation: Binary
  50. val application/vnd.openxmlformats-officedocument.presentationml.slide: Binary
  51. val application/vnd.openxmlformats-officedocument.presentationml.slideshow: Binary
  52. val application/vnd.openxmlformats-officedocument.presentationml.template: Binary
  53. val application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: Binary
  54. val application/vnd.openxmlformats-officedocument.spreadsheetml.template: Binary
  55. val application/vnd.openxmlformats-officedocument.wordprocessingml.document: Binary
  56. val application/vnd.openxmlformats-officedocument.wordprocessingml.template: Binary
  57. val application/x-7z-compressed: Binary
  58. val application/x-ace-compressed: Binary
  59. val application/x-apple-diskimage: Binary
  60. val application/x-arc-compressed: Binary
  61. val application/x-bzip: Binary
  62. val application/x-bzip2: Binary
  63. val application/x-chrome-extension: Binary
  64. val application/x-compress: Binary
  65. val application/x-compressed: Binary
  66. val application/x-debian-package: Binary
  67. val application/x-dvi: Binary
  68. val application/x-font-opentype: Binary
  69. val application/x-font-truetype: Binary
  70. val application/x-gtar: Binary
  71. val application/x-gzip: Binary
  72. val application/x-latex: WithOpenCharset
  73. val application/x-rar-compressed: Binary
  74. val application/x-redhat-package-manager: Binary
  75. val application/x-shockwave-flash: Binary
  76. val application/x-tar: Binary
  77. val application/x-tex: Binary
  78. val application/x-texinfo: Binary
  79. val application/x-vrml: WithOpenCharset
  80. val application/x-www-form-urlencoded: WithFixedCharset
  81. val application/x-x509-ca-cert: Binary
  82. val application/x-xpinstall: Binary
  83. val application/xhtml+xml: WithOpenCharset
  84. val application/xml: WithOpenCharset
  85. val application/xml-dtd: WithOpenCharset
  86. val application/zip: Binary
  87. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  88. val audio/aiff: Binary
  89. val audio/basic: Binary
  90. val audio/midi: Binary
  91. val audio/mod: Binary
  92. val audio/mpeg: Binary
  93. val audio/ogg: Binary
  94. val audio/voc: Binary
  95. val audio/vorbis: Binary
  96. val audio/voxware: Binary
  97. val audio/wav: Binary
  98. val audio/webm: Binary
  99. val audio/x-psid: Binary
  100. val audio/x-realaudio: Binary
  101. val audio/xm: Binary
  102. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  103. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  104. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  105. val font/woff: Binary
  106. val font/woff2: Binary
  107. def forExtension(ext: String): MediaType
  108. def forExtensionOption(ext: String): Option[MediaType]
  109. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  110. def getForKey(key: (String, String)): Option[MediaType]
    Definition Classes
    ObjectRegistry
  111. def getForKeyCaseInsensitive(key: String)(implicit conv: <:<[String, (String, String)]): Option[MediaType]
    Definition Classes
    ObjectRegistry
  112. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  113. val image/gif: Binary
  114. val image/jpeg: Binary
  115. val image/pict: Binary
  116. val image/png: Binary
  117. val image/svg+xml: Binary
  118. val image/svgz: Binary
  119. val image/tiff: Binary
  120. val image/webp: Binary
  121. val image/x-icon: Binary
  122. val image/x-ms-bmp: Binary
  123. val image/x-pcx: Binary
  124. val image/x-pict: Binary
  125. val image/x-quicktime: Binary
  126. val image/x-rgb: Binary
  127. val image/x-xbitmap: Binary
  128. val image/x-xpixmap: Binary
  129. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  130. val message/delivery-status: Binary
  131. val message/http: Binary
  132. val message/rfc822: Binary
  133. val multipart/alternative: MediaType.Multipart
  134. val multipart/byteranges: MediaType.Multipart
  135. val multipart/encrypted: MediaType.Multipart
  136. val multipart/form-data: MediaType.Multipart
  137. val multipart/mixed: MediaType.Multipart
  138. val multipart/related: MediaType.Multipart
  139. val multipart/signed: MediaType.Multipart
  140. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  141. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  142. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  143. final def register(key: (String, String), obj: MediaType): obj.type
    Attributes
    protected
    Definition Classes
    ObjectRegistry
  144. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  145. val text/asp: WithOpenCharset
  146. val text/cache-manifest: WithOpenCharset
  147. val text/calendar: WithOpenCharset
  148. val text/css: WithOpenCharset
  149. val text/csv: WithOpenCharset
  150. val text/event-stream: WithFixedCharset
  151. val text/html: WithOpenCharset
  152. val text/markdown: WithOpenCharset
  153. val text/mcf: WithOpenCharset
  154. val text/plain: WithOpenCharset
  155. val text/richtext: WithOpenCharset
  156. val text/tab-separated-values: WithOpenCharset
  157. val text/uri-list: WithOpenCharset
  158. val text/vnd.wap.wml: WithOpenCharset
  159. val text/vnd.wap.wmlscript: WithOpenCharset
  160. val text/x-asm: WithOpenCharset
  161. val text/x-c: WithOpenCharset
  162. val text/x-component: WithOpenCharset
  163. val text/x-h: WithOpenCharset
  164. val text/x-java-source: WithOpenCharset
  165. val text/x-pascal: WithOpenCharset
  166. val text/x-script: WithOpenCharset
  167. val text/x-scriptcsh: WithOpenCharset
  168. val text/x-scriptelisp: WithOpenCharset
  169. val text/x-scriptksh: WithOpenCharset
  170. val text/x-scriptlisp: WithOpenCharset
  171. val text/x-scriptperl: WithOpenCharset
  172. val text/x-scriptperl-module: WithOpenCharset
  173. val text/x-scriptphyton: WithOpenCharset
  174. val text/x-scriptrexx: WithOpenCharset
  175. val text/x-scriptscheme: WithOpenCharset
  176. val text/x-scriptsh: WithOpenCharset
  177. val text/x-scripttcl: WithOpenCharset
  178. val text/x-scripttcsh: WithOpenCharset
  179. val text/x-scriptzsh: WithOpenCharset
  180. val text/x-server-parsed-html: WithOpenCharset
  181. val text/x-setext: WithOpenCharset
  182. val text/x-sgml: WithOpenCharset
  183. val text/x-speech: WithOpenCharset
  184. val text/x-uuencode: WithOpenCharset
  185. val text/x-vcalendar: WithOpenCharset
  186. val text/x-vcard: WithOpenCharset
  187. val text/xml: WithOpenCharset
  188. def toString(): String
    Definition Classes
    AnyRef → Any
  189. val video/avs-video: Binary
  190. val video/divx: Binary
  191. val video/gl: Binary
  192. val video/mp4: Binary
  193. val video/mpeg: Binary
  194. val video/ogg: Binary
  195. val video/quicktime: Binary
  196. val video/webm: Binary
  197. val video/x-dv: Binary
  198. val video/x-flv: Binary
  199. val video/x-motion-jpeg: Binary
  200. val video/x-ms-asf: Binary
  201. val video/x-msvideo: Binary
  202. val video/x-sgi-movie: Binary
  203. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  204. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  205. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  206. object multipart

Deprecated Value Members

  1. val application/excel: Binary
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.6) This format is unofficial and should not be used. Use application/vnd.ms-excel instead.

  2. val application/font-woff: Binary
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.7) This format is unofficial and should not be used. Use font/woff instead.

  3. val application/mspowerpoint: Binary
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.6) This format is unofficial and should not be used. Use application/vnd.ms-powerpoint instead.

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ObjectRegistry[(String, String), MediaType]

Inherited from AnyRef

Inherited from Any

Ungrouped