Class MediaTypes$
java.lang.Object
org.apache.pekko.http.scaladsl.model.MediaTypes$
- All Implemented Interfaces:
ObjectRegistry<scala.Tuple2<String,String>, MediaType>
public class MediaTypes$
extends Object
implements ObjectRegistry<scala.Tuple2<String,String>,MediaType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MediaTypes$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforExtension(String ext) scala.Option<MediaType>forExtensionOption(String ext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.ObjectRegistry
getForKey, getForKeyCaseInsensitive, register
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
MediaTypes$
public MediaTypes$()
-
-
Method Details
-
forExtensionOption
-
forExtension
-
NoMediaType
-