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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binary
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ContentType
  7. ValueRenderable
  8. ToStringRenderable
  9. Renderable
  10. Binary
  11. ContentType
  12. AnyRef
  13. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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.type
    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 toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  6. def value: String
    Definition Classes
    ValueRenderable