Packages

trait WithCharset extends NonBinary

Represents a content-type which we know to contain text, and the charset is known at runtime.

Source
ContentType.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithCharset
  2. NonBinary
  3. ContentType
  4. AnyRef
  5. 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 binary: Boolean

    True if this ContentType is non-textual.

    True if this ContentType is non-textual.

    Definition Classes
    ContentType
  2. abstract def charset: HttpCharset
    Definition Classes
    NonBinary
  3. abstract def getCharsetOption: Optional[HttpCharset]

    Returns the charset if this ContentType is non-binary.

    Returns the charset if this ContentType is non-binary.

    Definition Classes
    ContentType
  4. abstract def mediaType: MediaType

    The media-type of this content-type.

    The media-type of this content-type.

    Definition Classes
    ContentType