The main-type of this media-type.
The main-type of this media-type.
The sub-type of this media-type.
The sub-type of this media-type.
True when this media-type is not character-based.
Java API
Java API
True when this media-type is generally compressible.
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
(nonBinary: MediaRange).isApplication
(nonBinary: MediaRange).isAudio
(nonBinary: MediaRange).isImage
(nonBinary: MediaRange).isMessage
(nonBinary: MediaRange).isMultipart
(nonBinary: MediaRange).isText
(nonBinary: MediaRange).isVideo
(nonBinary: MediaRange).mainType()
(nonBinary: MediaRange).params
(nonBinary: 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.
(nonBinary: 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
(nonBinary: MediaRange).withQValue(qValue)
(nonBinary: MediaRange).withQValue(qValue)