Returns a copy of this instance with the params replaced by the given ones.
Java API
Java API
Java API
Java API
Returns a MediaType instance which fits this range.
Returns a MediaType instance which fits this range.
Constructs a ContentType
from this instance and the given charset.
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
(mediaType: MediaRange).isApplication
(mediaType: MediaRange).isAudio
(mediaType: MediaRange).isImage
(mediaType: MediaRange).isMessage
(mediaType: MediaRange).isMultipart
(mediaType: MediaRange).isText
(mediaType: MediaRange).isVideo
(mediaType: MediaRange).mainType()
(mediaType: MediaRange).params
(mediaType: MediaRange).render(r)
(mediaType: StringAdd).self
(mediaType: StringFormat).self
(mediaType: MediaRange).value
Constructs a ContentTypeRange
from this instance and the given charset.
Constructs a ContentTypeRange
from this instance and the given charset.
(mediaType: MediaRange).withCharset(charsetRange)
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.
(mediaType: MediaRange).withParams(params)
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
(mediaType: MediaRange).withQValue(qValue)
(mediaType: MediaRange).withQValue(qValue)
(mediaType: ArrowAssoc[MediaType]).x
(Since version 2.10.0) Use leftOfArrow
instead
(mediaType: Ensuring[MediaType]).x
(Since version 2.10.0) Use resultOfEnsuring
instead