sttp.model.MediaType$
See theMediaType companion class
object MediaType extends MediaTypes
For a description of the behavior of apply
, parse
, safeApply
and unsafeApply
methods, see sttp.model.
Attributes
Members list
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
Value parameters
- mediaTypes
-
Candidate media types
- ranges
-
Content type ranges, sorted in order of preference.
Attributes
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
In this article