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
(multipart: MediaRange).isApplication
(multipart: MediaRange).isAudio
(multipart: MediaRange).isImage
(multipart: MediaRange).isMessage
(multipart: MediaRange).isMultipart
(multipart: MediaRange).isText
(multipart: MediaRange).isVideo
(multipart: MediaRange).mainType()
(multipart: MediaRange).params
(multipart: 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.
(multipart: 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
(multipart: MediaRange).withQValue(qValue)
(multipart: MediaRange).withQValue(qValue)