Object

akka.http.scaladsl.model

MediaTypes

Related Doc: package model

Permalink

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. All

Type Members

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val application/atom+xml: WithOpenCharset

    Permalink
  5. val application/base64: WithOpenCharset

    Permalink
  6. val application/cbor: Binary

    Permalink
  7. val application/gnutar: Binary

    Permalink
  8. val application/grpc+proto: Binary

    Permalink
  9. val application/java-archive: Binary

    Permalink
  10. val application/javascript: WithOpenCharset

    Permalink
  11. val application/json: WithFixedCharset

    Permalink
  12. val application/json-patch+json: WithFixedCharset

    Permalink
  13. val application/lha: Binary

    Permalink
  14. val application/lzx: Binary

    Permalink
  15. val application/merge-patch+json: WithFixedCharset

    Permalink
  16. val application/msword: Binary

    Permalink
  17. val application/octet-stream: Binary

    Permalink
  18. val application/pdf: Binary

    Permalink
  19. val application/postscript: Binary

    Permalink
  20. val application/problem+json: WithFixedCharset

    Permalink
  21. val application/problem+xml: WithOpenCharset

    Permalink
  22. val application/rss+xml: WithOpenCharset

    Permalink
  23. val application/soap+xml: WithOpenCharset

    Permalink
  24. val application/vnd.api+json: WithFixedCharset

    Permalink
  25. val application/vnd.google-earth.kml+xml: WithOpenCharset

    Permalink
  26. val application/vnd.google-earth.kmz: Binary

    Permalink
  27. val application/vnd.ms-excel: Binary

    Permalink
  28. val application/vnd.ms-excel.addin.macroEnabled.12: Binary

    Permalink
  29. val application/vnd.ms-excel.sheet.binary.macroEnabled.12: Binary

    Permalink
  30. val application/vnd.ms-excel.sheet.macroEnabled.12: Binary

    Permalink
  31. val application/vnd.ms-excel.template.macroEnabled.12: Binary

    Permalink
  32. val application/vnd.ms-fontobject: Binary

    Permalink
  33. val application/vnd.ms-powerpoint: Binary

    Permalink
  34. val application/vnd.ms-powerpoint.addin.macroEnabled.12: Binary

    Permalink
  35. val application/vnd.ms-powerpoint.presentation.macroEnabled.12: Binary

    Permalink
  36. val application/vnd.ms-powerpoint.slideshow.macroEnabled.12: Binary

    Permalink
  37. val application/vnd.ms-word.document.macroEnabled.12: Binary

    Permalink
  38. val application/vnd.ms-word.template.macroEnabled.12: Binary

    Permalink
  39. val application/vnd.oasis.opendocument.chart: Binary

    Permalink
  40. val application/vnd.oasis.opendocument.database: Binary

    Permalink
  41. val application/vnd.oasis.opendocument.formula: Binary

    Permalink
  42. val application/vnd.oasis.opendocument.graphics: Binary

    Permalink
  43. val application/vnd.oasis.opendocument.image: Binary

    Permalink
  44. val application/vnd.oasis.opendocument.presentation: Binary

    Permalink
  45. val application/vnd.oasis.opendocument.spreadsheet: Binary

    Permalink
  46. val application/vnd.oasis.opendocument.text: Binary

    Permalink
  47. val application/vnd.oasis.opendocument.text-master: Binary

    Permalink
  48. val application/vnd.oasis.opendocument.text-web: Binary

    Permalink
  49. val application/vnd.openxmlformats-officedocument.presentationml.presentation: Binary

    Permalink
  50. val application/vnd.openxmlformats-officedocument.presentationml.slide: Binary

    Permalink
  51. val application/vnd.openxmlformats-officedocument.presentationml.slideshow: Binary

    Permalink
  52. val application/vnd.openxmlformats-officedocument.presentationml.template: Binary

    Permalink
  53. val application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: Binary

    Permalink
  54. val application/vnd.openxmlformats-officedocument.spreadsheetml.template: Binary

    Permalink
  55. val application/vnd.openxmlformats-officedocument.wordprocessingml.document: Binary

    Permalink
  56. val application/vnd.openxmlformats-officedocument.wordprocessingml.template: Binary

    Permalink
  57. val application/x-7z-compressed: Binary

    Permalink
  58. val application/x-ace-compressed: Binary

    Permalink
  59. val application/x-apple-diskimage: Binary

    Permalink
  60. val application/x-arc-compressed: Binary

    Permalink
  61. val application/x-bzip: Binary

    Permalink
  62. val application/x-bzip2: Binary

    Permalink
  63. val application/x-chrome-extension: Binary

    Permalink
  64. val application/x-compress: Binary

    Permalink
  65. val application/x-compressed: Binary

    Permalink
  66. val application/x-debian-package: Binary

    Permalink
  67. val application/x-dvi: Binary

    Permalink
  68. val application/x-font-opentype: Binary

    Permalink
  69. val application/x-font-truetype: Binary

    Permalink
  70. val application/x-gtar: Binary

    Permalink
  71. val application/x-gzip: Binary

    Permalink
  72. val application/x-latex: WithOpenCharset

    Permalink
  73. val application/x-rar-compressed: Binary

    Permalink
  74. val application/x-redhat-package-manager: Binary

    Permalink
  75. val application/x-shockwave-flash: Binary

    Permalink
  76. val application/x-tar: Binary

    Permalink
  77. val application/x-tex: Binary

    Permalink
  78. val application/x-texinfo: Binary

    Permalink
  79. val application/x-vrml: WithOpenCharset

    Permalink
  80. val application/x-www-form-urlencoded: WithFixedCharset

    Permalink
  81. val application/x-x509-ca-cert: Binary

    Permalink
  82. val application/x-xpinstall: Binary

    Permalink
  83. val application/xhtml+xml: WithOpenCharset

    Permalink
  84. val application/xml: WithOpenCharset

    Permalink
  85. val application/xml-dtd: WithOpenCharset

    Permalink
  86. val application/zip: Binary

    Permalink
  87. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  88. val audio/aiff: Binary

    Permalink
  89. val audio/basic: Binary

    Permalink
  90. val audio/midi: Binary

    Permalink
  91. val audio/mod: Binary

    Permalink
  92. val audio/mpeg: Binary

    Permalink
  93. val audio/ogg: Binary

    Permalink
  94. val audio/voc: Binary

    Permalink
  95. val audio/vorbis: Binary

    Permalink
  96. val audio/voxware: Binary

    Permalink
  97. val audio/wav: Binary

    Permalink
  98. val audio/webm: Binary

    Permalink
  99. val audio/x-psid: Binary

    Permalink
  100. val audio/x-realaudio: Binary

    Permalink
  101. val audio/xm: Binary

    Permalink
  102. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  104. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  105. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  106. val font/woff: Binary

    Permalink
  107. val font/woff2: Binary

    Permalink
  108. def forExtension(ext: String): MediaType

    Permalink
  109. def forExtensionOption(ext: String): Option[MediaType]

    Permalink
  110. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  111. def getForKey(key: (String, String)): Option[MediaType]

    Permalink
    Definition Classes
    ObjectRegistry
  112. def getForKeyCaseInsensitive(key: String)(implicit conv: <:<[String, (String, String)]): Option[MediaType]

    Permalink
    Definition Classes
    ObjectRegistry
  113. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  114. val image/gif: Binary

    Permalink
  115. val image/jpeg: Binary

    Permalink
  116. val image/pict: Binary

    Permalink
  117. val image/png: Binary

    Permalink
  118. val image/svg+xml: Binary

    Permalink
  119. val image/svgz: Binary

    Permalink
  120. val image/tiff: Binary

    Permalink
  121. val image/webp: Binary

    Permalink
  122. val image/x-icon: Binary

    Permalink
  123. val image/x-ms-bmp: Binary

    Permalink
  124. val image/x-pcx: Binary

    Permalink
  125. val image/x-pict: Binary

    Permalink
  126. val image/x-quicktime: Binary

    Permalink
  127. val image/x-rgb: Binary

    Permalink
  128. val image/x-xbitmap: Binary

    Permalink
  129. val image/x-xpixmap: Binary

    Permalink
  130. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  131. val message/delivery-status: Binary

    Permalink
  132. val message/http: Binary

    Permalink
  133. val message/rfc822: Binary

    Permalink
  134. object multipart

    Permalink
  135. val multipart/alternative: MediaType.Multipart

    Permalink
  136. val multipart/byteranges: MediaType.Multipart

    Permalink
  137. val multipart/encrypted: MediaType.Multipart

    Permalink
  138. val multipart/form-data: MediaType.Multipart

    Permalink
  139. val multipart/mixed: MediaType.Multipart

    Permalink
  140. val multipart/related: MediaType.Multipart

    Permalink
  141. val multipart/signed: MediaType.Multipart

    Permalink
  142. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  143. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  144. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  145. final def register(key: (String, String), obj: MediaType): obj.type

    Permalink
    Attributes
    protected
    Definition Classes
    ObjectRegistry
  146. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  147. val text/asp: WithOpenCharset

    Permalink
  148. val text/cache-manifest: WithOpenCharset

    Permalink
  149. val text/calendar: WithOpenCharset

    Permalink
  150. val text/css: WithOpenCharset

    Permalink
  151. val text/csv: WithOpenCharset

    Permalink
  152. val text/event-stream: WithFixedCharset

    Permalink
  153. val text/html: WithOpenCharset

    Permalink
  154. val text/markdown: WithOpenCharset

    Permalink
  155. val text/mcf: WithOpenCharset

    Permalink
  156. val text/plain: WithOpenCharset

    Permalink
  157. val text/richtext: WithOpenCharset

    Permalink
  158. val text/tab-separated-values: WithOpenCharset

    Permalink
  159. val text/uri-list: WithOpenCharset

    Permalink
  160. val text/vnd.wap.wml: WithOpenCharset

    Permalink
  161. val text/vnd.wap.wmlscript: WithOpenCharset

    Permalink
  162. val text/x-asm: WithOpenCharset

    Permalink
  163. val text/x-c: WithOpenCharset

    Permalink
  164. val text/x-component: WithOpenCharset

    Permalink
  165. val text/x-h: WithOpenCharset

    Permalink
  166. val text/x-java-source: WithOpenCharset

    Permalink
  167. val text/x-pascal: WithOpenCharset

    Permalink
  168. val text/x-script: WithOpenCharset

    Permalink
  169. val text/x-scriptcsh: WithOpenCharset

    Permalink
  170. val text/x-scriptelisp: WithOpenCharset

    Permalink
  171. val text/x-scriptksh: WithOpenCharset

    Permalink
  172. val text/x-scriptlisp: WithOpenCharset

    Permalink
  173. val text/x-scriptperl: WithOpenCharset

    Permalink
  174. val text/x-scriptperl-module: WithOpenCharset

    Permalink
  175. val text/x-scriptphyton: WithOpenCharset

    Permalink
  176. val text/x-scriptrexx: WithOpenCharset

    Permalink
  177. val text/x-scriptscheme: WithOpenCharset

    Permalink
  178. val text/x-scriptsh: WithOpenCharset

    Permalink
  179. val text/x-scripttcl: WithOpenCharset

    Permalink
  180. val text/x-scripttcsh: WithOpenCharset

    Permalink
  181. val text/x-scriptzsh: WithOpenCharset

    Permalink
  182. val text/x-server-parsed-html: WithOpenCharset

    Permalink
  183. val text/x-setext: WithOpenCharset

    Permalink
  184. val text/x-sgml: WithOpenCharset

    Permalink
  185. val text/x-speech: WithOpenCharset

    Permalink
  186. val text/x-uuencode: WithOpenCharset

    Permalink
  187. val text/x-vcalendar: WithOpenCharset

    Permalink
  188. val text/x-vcard: WithOpenCharset

    Permalink
  189. val text/xml: WithOpenCharset

    Permalink
  190. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  191. val video/avs-video: Binary

    Permalink
  192. val video/divx: Binary

    Permalink
  193. val video/gl: Binary

    Permalink
  194. val video/mp4: Binary

    Permalink
  195. val video/mpeg: Binary

    Permalink
  196. val video/ogg: Binary

    Permalink
  197. val video/quicktime: Binary

    Permalink
  198. val video/webm: Binary

    Permalink
  199. val video/x-dv: Binary

    Permalink
  200. val video/x-flv: Binary

    Permalink
  201. val video/x-motion-jpeg: Binary

    Permalink
  202. val video/x-ms-asf: Binary

    Permalink
  203. val video/x-msvideo: Binary

    Permalink
  204. val video/x-sgi-movie: Binary

    Permalink
  205. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  206. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  207. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. val application/excel: Binary

    Permalink
    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

    Permalink
    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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped