WithMissingCharset

akka.http.scaladsl.model.ContentType.WithMissingCharset
final case class WithMissingCharset(mediaType: WithOpenCharset) extends WithMissingCharset, ContentType

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.

Attributes

Source
ContentType.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ContentType
trait ContentType
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

True if this ContentType is non-textual.

True if this ContentType is non-textual.

Attributes

Source
ContentType.scala

Inherited methods

def getCharsetOption: Optional[HttpCharset]

Java API

Java API

Attributes

Inherited from:
ContentType
Source
ContentType.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
ContentType -> ToStringRenderable -> Any
Inherited from:
ContentType
Source
ContentType.scala
def value: String

Attributes

Inherited from:
ValueRenderable (hidden)
Source
Rendering.scala