Packages

final case class WithCharset(mediaType: WithOpenCharset, charset: HttpCharset) extends javadsl.model.ContentType.WithCharset with NonBinary with Product with Serializable

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

Source
ContentType.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithCharset
  2. Serializable
  3. Product
  4. Equals
  5. NonBinary
  6. ContentType
  7. ValueRenderable
  8. ToStringRenderable
  9. Renderable
  10. WithCharset
  11. NonBinary
  12. ContentType
  13. AnyRef
  14. 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 WithCharset(mediaType: WithOpenCharset, charset: HttpCharset)

Value Members

  1. def binary: Boolean

    True if this ContentType is non-textual.

    True if this ContentType is non-textual.

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

    Java API

    Java API

    Definition Classes
    ContentTypeContentType
  5. val mediaType: WithOpenCharset

    The media-type of this content-type.

    The media-type of this content-type.

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