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.
Constructs a ContentType
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.
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
(nonMultipartMediaType: MediaRange).isApplication
(nonMultipartMediaType: MediaRange).isAudio
(nonMultipartMediaType: MediaRange).isImage
(nonMultipartMediaType: MediaRange).isMessage
(nonMultipartMediaType: MediaRange).isMultipart
(nonMultipartMediaType: MediaRange).isText
(nonMultipartMediaType: MediaRange).isVideo
(nonMultipartMediaType: MediaRange).mainType()
(nonMultipartMediaType: MediaRange).params
(nonMultipartMediaType: MediaRange).render(r)
(nonMultipartMediaType: StringAdd).self
(nonMultipartMediaType: StringFormat).self
(nonMultipartMediaType: MediaRange).value
Constructs a ContentTypeRange
from this instance and the given charset.
Constructs a ContentTypeRange
from this instance and the given charset.
(nonMultipartMediaType: 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.
(nonMultipartMediaType: 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
(nonMultipartMediaType: MediaRange).withQValue(qValue)
(nonMultipartMediaType: MediaRange).withQValue(qValue)
(nonMultipartMediaType: ArrowAssoc[NonMultipartMediaType]).x
(Since version 2.10.0) Use leftOfArrow
instead
(nonMultipartMediaType: Ensuring[NonMultipartMediaType]).x
(Since version 2.10.0) Use resultOfEnsuring
instead