Package akka.http.scaladsl.model
Class MediaTypes
java.lang.Object
akka.http.scaladsl.model.MediaTypes
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic scala.collection.immutable.Map<K,
V> static void
akka$http$impl$util$ObjectRegistry$$_registry_$eq
(scala.collection.immutable.Map<K, V> x$1) static MediaType
forExtension
(String ext) static scala.Option<MediaType>
forExtensionOption
(String ext) static scala.Option<V>
getForKey
(K key) static scala.Option<V>
getForKeyCaseInsensitive
(String key, scala.$less$colon$less<String, K> conv) static MediaType.Binary
protected static final Object
register
(K key, V obj)
-
Constructor Details
-
MediaTypes
public MediaTypes()
-
-
Method Details
-
forExtensionOption
-
forExtension
-
NoMediaType
-
akka$http$impl$util$ObjectRegistry$$_registry
public static scala.collection.immutable.Map<K,V> akka$http$impl$util$ObjectRegistry$$_registry() -
akka$http$impl$util$ObjectRegistry$$_registry_$eq
public static void akka$http$impl$util$ObjectRegistry$$_registry_$eq(scala.collection.immutable.Map<K, V> x$1) -
register
-
getForKey
public static scala.Option<V> getForKey(K key) -
getForKeyCaseInsensitive
-