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.
Java API
Java API
The sub-type of this media-type.
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
(binary: MediaRange).isApplication
(binary: MediaRange).isAudio
(binary: MediaRange).isImage
(binary: MediaRange).isMessage
(binary: MediaRange).isMultipart
(binary: MediaRange).isText
(binary: MediaRange).isVideo
(binary: MediaRange).mainType()
(binary: MediaRange).params
(binary: 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.
(binary: 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
(binary: MediaRange).withQValue(qValue)
(binary: MediaRange).withQValue(qValue)