object MediaType

Source
MediaType.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediaType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class Binary extends MediaType with javadsl.model.MediaType.Binary
    Annotations
    @DoNotInherit()
  2. sealed class Compressibility extends javadsl.model.MediaType.Compressibility
  3. final class Multipart extends Binary with javadsl.model.MediaType.Multipart
  4. sealed abstract class NonBinary extends MediaType with javadsl.model.MediaType.NonBinary
    Annotations
    @DoNotInherit()
  5. sealed abstract class NonMultipartWithOpenCharset extends WithOpenCharset
    Annotations
    @DoNotInherit()
  6. sealed abstract class WithFixedCharset extends NonBinary with javadsl.model.MediaType.WithFixedCharset
    Annotations
    @DoNotInherit()
  7. sealed abstract class WithOpenCharset extends NonBinary with javadsl.model.MediaType.WithOpenCharset
    Annotations
    @DoNotInherit()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applicationBinary(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  5. def applicationWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset
  6. def applicationWithOpenCharset(subType: String, fileExtensions: String*): WithOpenCharset
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def audio(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. def custom(value: String, binary: Boolean, comp: Compressibility = Compressible, fileExtensions: List[String] = Nil): MediaType
  11. def customBinary(mainType: String, subType: String, comp: Compressibility, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): Binary
  12. def customMultipart(subType: String, params: Map[String, String]): Multipart
  13. def customWithFixedCharset(mainType: String, subType: String, charset: HttpCharset, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithFixedCharset
  14. def customWithOpenCharset(mainType: String, subType: String, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithOpenCharset
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def font(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def image(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def message(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. 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. Returns Right(mediaType) if successful and Left(errors) otherwise.

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def text(subType: String, fileExtensions: String*): WithOpenCharset
  29. def textWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unapply(mediaType: MediaType): Option[String]
  32. def video(subType: String, comp: Compressibility, fileExtensions: String*): Binary
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. case object Compressible extends Compressibility with Product with Serializable
  37. case object Gzipped extends Compressibility with Product with Serializable
  38. case object NotCompressible extends Compressibility with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped