public abstract static class MediaType.NonBinary extends MediaType implements MediaType.NonBinary
MediaType.Binary, MediaType.Compressibility, MediaType.Compressible$, MediaType.Gzipped$, MediaType.Multipart, MediaType.NonBinary, MediaType.NonMultipartWithOpenCharset, MediaType.NotCompressible$, MediaType.WithFixedCharset, MediaType.WithOpenCharset
MediaType.Binary, MediaType.Compressibility, MediaType.Multipart, MediaType.NonBinary, MediaType.WithFixedCharset, MediaType.WithOpenCharset
Constructor and Description |
---|
NonBinary(java.lang.String _mainType,
java.lang.String _subType) |
Modifier and Type | Method and Description |
---|---|
boolean |
binary()
True when this media-type is not character-based.
|
MediaType.Compressible$ |
comp() |
MediaType.Binary |
withComp(MediaType.Compressibility comp) |
applicationBinary, applicationWithFixedCharset, applicationWithOpenCharset, audio, custom, customBinary, customMultipart, customWithFixedCharset, customWithOpenCharset, equals, fileExtensions, font, hashCode, image, isApplication, isAudio, isCompressible, isImage, isMessage, isMultipart, isText, isVideo, mainType, message, params, parse, subType, text, textWithFixedCharset, toRange, toRange, unapply, video, withParams, withQValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isApplication, isAudio, isCompressible, isImage, isMessage, isMultipart, isText, isVideo, mainType, subType, toRange, toRange
render, toString, value, valueBytes
withQValue
public NonBinary(java.lang.String _mainType, java.lang.String _subType)
public boolean binary()
MediaType
public MediaType.Compressible$ comp()
public MediaType.Binary withComp(MediaType.Compressibility comp)