Packages

t

akka.http.javadsl.model.ContentType

WithMissingCharset

trait WithMissingCharset extends ContentType

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

Source
ContentType.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithMissingCharset
  2. ContentType
  3. AnyRef
  4. 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 getCharsetOption: Optional[HttpCharset]

    Returns the charset if this ContentType is non-binary.

    Returns the charset if this ContentType is non-binary.

    Definition Classes
    ContentType
  3. abstract def mediaType: MediaType

    The media-type of this content-type.

    The media-type of this content-type.

    Definition Classes
    ContentType