True when this media-type is not character-based.
Java API
Java API
True when this media-type is generally compressible.
The main-type of this media-type.
The main-type of this media-type.
Java API
Java API
The sub-type of this media-type.
The sub-type of this media-type.
JAVA API
JAVA API
Creates a media-range from this media-type with a given qValue.
JAVA API
Constructs a ContentTypeRange
from this instance and the given charset.
Constructs a ContentTypeRange
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
(withFixedCharset: MediaRange).isApplication
(withFixedCharset: MediaRange).isAudio
(withFixedCharset: MediaRange).isImage
(withFixedCharset: MediaRange).isMessage
(withFixedCharset: MediaRange).isMultipart
(withFixedCharset: MediaRange).isText
(withFixedCharset: MediaRange).isVideo
(withFixedCharset: MediaRange).mainType()
(withFixedCharset: MediaRange).params
(withFixedCharset: MediaRange).value
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.
(withFixedCharset: 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
(withFixedCharset: MediaRange).withQValue(qValue)
(withFixedCharset: MediaRange).withQValue(qValue)