akka.http.scaladsl.model.MediaRanges
Returns a MediaType instance which fits this range.
Returns a MediaType instance which fits this range.
Java API
Java API
Java API
Java API
Constructs a ContentTypeRange
from this instance and the given charset.
Constructs a ContentTypeRange
from this instance and the given charset.
Returns a copy of this instance with the params replaced by the given ones.
Returns a copy of this instance with the params replaced by the given ones.
If the given map contains a "q" value the qValue
member is (also) updated.
truncates Double qValue to float and returns a new instance with this qValue set
truncates Double qValue to float and returns a new instance with this qValue set
(predefinedMediaRange: StringAdd).self
(predefinedMediaRange: StringFormat).self
(predefinedMediaRange: ArrowAssoc[PredefinedMediaRange]).x
(Since version 2.10.0) Use leftOfArrow
instead
(predefinedMediaRange: Ensuring[PredefinedMediaRange]).x
(Since version 2.10.0) Use resultOfEnsuring
instead