sttp.model.MediaType$
See theMediaType companion class
For a description of the behavior of apply
, parse
, safeApply
and unsafeApply
methods, see sttp.model.
Attributes
Members list
Concise view
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Attributes
- mediaTypes
Candidate media types
- ranges
Content type ranges, sorted in order of preference.
def unsafeApply(mainType: String, subType: String, charset: Option[String], parameters: Map[String, String]): MediaType
Attributes
- Throws:
- IllegalArgumentException
If the main type or subt type contain illegal characters.
Inherited fields
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes
Attributes
- Inherited from:
- MediaTypes