Object/Class

akka.http.scaladsl.model

MediaType

Related Docs: class MediaType | package model

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Compressible extends Compressibility with Product with Serializable

    Permalink
  5. object Gzipped extends Compressibility with Product with Serializable

    Permalink
  6. object NotCompressible extends Compressibility with Product with Serializable

    Permalink
  7. def applicationBinary(subType: String, comp: Compressibility, fileExtensions: String*): Binary

    Permalink
  8. def applicationWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset

    Permalink
  9. def applicationWithOpenCharset(subType: String, fileExtensions: String*): WithOpenCharset

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def audio(subType: String, comp: Compressibility, fileExtensions: String*): Binary

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def custom(value: String, binary: Boolean, comp: Compressibility = Compressible, fileExtensions: List[String] = Nil): MediaType

    Permalink
  14. def customBinary(mainType: String, subType: String, comp: Compressibility, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): Binary

    Permalink
  15. def customMultipart(subType: String, params: Map[String, String]): Multipart

    Permalink
  16. def customWithFixedCharset(mainType: String, subType: String, charset: HttpCharset, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithFixedCharset

    Permalink
  17. def customWithOpenCharset(mainType: String, subType: String, fileExtensions: List[String] = Nil, params: Map[String, String] = Map.empty, allowArbitrarySubtypes: Boolean = false): WithOpenCharset

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def image(subType: String, comp: Compressibility, fileExtensions: String*): Binary

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def message(subType: String, comp: Compressibility, fileExtensions: String*): Binary

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def parse(value: String): Either[List[ErrorInfo], MediaType]

    Permalink

    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.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def text(subType: String, fileExtensions: String*): WithOpenCharset

    Permalink
  32. def textWithFixedCharset(subType: String, charset: HttpCharset, fileExtensions: String*): WithFixedCharset

    Permalink
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def unapply(mediaType: MediaType): Option[String]

    Permalink
  35. def video(subType: String, comp: Compressibility, fileExtensions: String*): Binary

    Permalink
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped