Packages

sealed trait NonBinary extends javadsl.model.ContentType.NonBinary with ContentType

Represents a content-type which we know to contain text, and has a specified charset.

Source
ContentType.scala
Linear Supertypes
ContentType, ValueRenderable, ToStringRenderable, Renderable, javadsl.model.ContentType.NonBinary, javadsl.model.ContentType, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonBinary
  2. ContentType
  3. ValueRenderable
  4. ToStringRenderable
  5. Renderable
  6. NonBinary
  7. ContentType
  8. AnyRef
  9. 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

Abstract Value Members

  1. abstract def charset: HttpCharset
    Definition Classes
    NonBinaryNonBinary
  2. abstract def mediaType: MediaType

    The media-type of this content-type.

    The media-type of this content-type.

    Definition Classes
    ContentTypeContentType

Concrete Value Members

  1. def binary: Boolean

    True if this ContentType is non-textual.

    True if this ContentType is non-textual.

    Definition Classes
    NonBinaryContentType
  2. def charsetOption: Some[HttpCharset]
    Definition Classes
    NonBinaryContentType
  3. def getCharsetOption: Optional[javadsl.model.HttpCharset]

    Java API

    Java API

    Definition Classes
    ContentTypeContentType
  4. def toString(): String
    Definition Classes
    ContentType → ToStringRenderable → AnyRef → Any
  5. def value: String
    Definition Classes
    ValueRenderable