Packages

final case class Binary(mediaType: MediaType.Binary) extends javadsl.model.ContentType.Binary with ContentType with Product with Serializable

Represents a content-type which we know not to contain text (will never have have a charset)

Source
ContentType.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binary
  2. Serializable
  3. Product
  4. Equals
  5. ContentType
  6. ValueRenderable
  7. ToStringRenderable
  8. Renderable
  9. Binary
  10. ContentType
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Binary(mediaType: MediaType.Binary)

Value Members

  1. def binary: Boolean

    True if this ContentType is non-textual.

    True if this ContentType is non-textual.

    Definition Classes
    BinaryContentType
  2. def charsetOption: None
    Definition Classes
    BinaryContentType
  3. def getCharsetOption: Optional[javadsl.model.HttpCharset]

    Java API

    Java API

    Definition Classes
    ContentTypeContentType
  4. val mediaType: MediaType.Binary

    The media-type of this content-type.

    The media-type of this content-type.

    Definition Classes
    BinaryContentTypeContentType
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def toString(): String
    Definition Classes
    ContentType → ToStringRenderable → AnyRef → Any
  7. def value: String
    Definition Classes
    ValueRenderable