object MediaType
Ordering
- Alphabetic
- By Inheritance
Inherited
- MediaType
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed abstract class Binary extends MediaType with javadsl.model.MediaType.Binary
- Annotations
- @DoNotInherit()
- sealed class Compressibility extends javadsl.model.MediaType.Compressibility
- final class Multipart extends Binary with javadsl.model.MediaType.Multipart
- sealed abstract class NonBinary extends MediaType with javadsl.model.MediaType.NonBinary
- Annotations
- @DoNotInherit()
- sealed abstract class NonMultipartWithOpenCharset extends WithOpenCharset
- Annotations
- @DoNotInherit()
- sealed abstract class WithFixedCharset extends NonBinary with javadsl.model.MediaType.WithFixedCharset
- Annotations
- @DoNotInherit()
- sealed abstract class WithOpenCharset extends NonBinary with javadsl.model.MediaType.WithOpenCharset
- Annotations
- @DoNotInherit()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applicationBinary(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- def applicationWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset
- def applicationWithOpenCharset(subType: String, fileExtensions: String*): WithOpenCharset
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def audio(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def custom(value: String, binary: Boolean, comp: Compressibility = Compressible, fileExtensions: List[String] = Nil): MediaType
- def customBinary(mainType: String, subType: String, comp: Compressibility, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): Binary
- def customMultipart(subType: String, params: Map[String, String]): Multipart
- def customWithFixedCharset(mainType: String, subType: String, charset: HttpCharset, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithFixedCharset
- def customWithOpenCharset(mainType: String, subType: String, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithOpenCharset
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def font(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def image(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def message(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse(value: String): Either[List[ErrorInfo], MediaType]
Tries to parse a
MediaType
value from the given String.Tries to parse a
MediaType
value from the given String. ReturnsRight(mediaType)
if successful andLeft(errors)
otherwise. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text(subType: String, fileExtensions: String*): WithOpenCharset
- def textWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(mediaType: MediaType): Option[String]
- def video(subType: String, comp: Compressibility, fileExtensions: String*): Binary
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object Compressible extends Compressibility with Product with Serializable
- case object Gzipped extends Compressibility with Product with Serializable
- case object NotCompressible extends Compressibility with Product with Serializable