public class MediaTypes$ extends java.lang.Object implements ObjectRegistry<scala.Tuple2<java.lang.String,java.lang.String>,MediaType>
Modifier and Type | Field and Description |
---|---|
static MediaTypes$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
MediaTypes$() |
Modifier and Type | Method and Description |
---|---|
MediaType |
forExtension(java.lang.String ext) |
scala.Option<MediaType> |
forExtensionOption(java.lang.String ext) |
MediaType.Binary |
NoMediaType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getForKey, getForKeyCaseInsensitive, register
public static final MediaTypes$ MODULE$
public scala.Option<MediaType> forExtensionOption(java.lang.String ext)
public MediaType forExtension(java.lang.String ext)
public MediaType.Binary NoMediaType()