Package akka.http.scaladsl.model
Class MediaTypes$
- java.lang.Object
-
- akka.http.scaladsl.model.MediaTypes$
-
- All Implemented Interfaces:
ObjectRegistry<scala.Tuple2<java.lang.String,java.lang.String>,MediaType>
public class MediaTypes$ extends java.lang.Object implements ObjectRegistry<scala.Tuple2<java.lang.String,java.lang.String>,MediaType>
-
-
Field Summary
Fields Modifier and Type Field Description static MediaTypes$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description MediaTypes$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaType
forExtension(java.lang.String ext)
scala.Option<MediaType>
forExtensionOption(java.lang.String ext)
MediaType.Binary
NoMediaType()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.ObjectRegistry
getForKey, getForKeyCaseInsensitive, register
-
-
-
-
Field Detail
-
MODULE$
public static final MediaTypes$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
forExtensionOption
public scala.Option<MediaType> forExtensionOption(java.lang.String ext)
-
forExtension
public MediaType forExtension(java.lang.String ext)
-
NoMediaType
public MediaType.Binary NoMediaType()
-
-