Packages

final case class WithMissingCharset(mediaType: WithOpenCharset) extends javadsl.model.ContentType.WithMissingCharset with ContentType with Product with Serializable

Represents a content-type which we know to contain text, and would be better off having a charset, but the client or server hasn't provided that. For example, "text/xml" without a charset parameter.

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

Value Members

  1. def binary: Boolean

    True if this ContentType is non-textual.

    True if this ContentType is non-textual.

    Definition Classes
    WithMissingCharsetContentType
  2. def charsetOption: None
    Definition Classes
    WithMissingCharsetContentType
  3. def getCharsetOption: Optional[javadsl.model.HttpCharset]

    Java API

    Java API

    Definition Classes
    ContentTypeContentType
  4. val mediaType: WithOpenCharset

    The media-type of this content-type.

    The media-type of this content-type.

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