akka.http.scaladsl.model
A ContentType represents a specific MediaType / HttpCharset combination.
ContentType
If the MediaType is not flexible with regard to the charset used, e.g. because it's a binary MediaType or the charset is fixed, then the ContentType is a simple wrapper.
True if this ContentType is non-textual.
The media-type of this content-type.
Java API
A
ContentType
represents a specific MediaType / HttpCharset combination.If the MediaType is not flexible with regard to the charset used, e.g. because it's a binary MediaType or the charset is fixed, then the
ContentType
is a simple wrapper.