Packages

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

Represents a content-type which we know to contain text, where the charset always has the same predefined value.

Source
ContentType.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithFixedCharset
  2. Serializable
  3. Product
  4. Equals
  5. NonBinary
  6. ContentType
  7. ValueRenderable
  8. ToStringRenderable
  9. Renderable
  10. WithFixedCharset
  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 WithFixedCharset(mediaType: MediaType.WithFixedCharset)

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 charset: HttpCharset
    Definition Classes
    WithFixedCharsetNonBinaryNonBinary
  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: MediaType.WithFixedCharset

    The media-type of this content-type.

    The media-type of this content-type.

    Definition Classes
    WithFixedCharsetContentTypeContentType
  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