public abstract static class MediaType.Binary extends MediaType implements MediaType.Binary
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 |
---|
Binary(java.lang.String value,
java.lang.String _mainType,
java.lang.String _subType,
MediaType.Compressibility comp,
scala.collection.immutable.List<java.lang.String> fileExtensions) |
Modifier and Type | Method and Description |
---|---|
boolean |
binary()
True when this media-type is not character-based.
|
MediaType.Compressibility |
comp() |
scala.collection.immutable.List<java.lang.String> |
fileExtensions() |
scala.collection.immutable.Map<java.lang.String,java.lang.String> |
params() |
ContentType.Binary |
toContentType()
JAVA API
|
java.lang.String |
value() |
MediaType.Binary |
withComp(MediaType.Compressibility comp) |
MediaType.Binary |
withParams(scala.collection.immutable.Map<java.lang.String,java.lang.String> params) |
applicationBinary, applicationWithFixedCharset, applicationWithOpenCharset, audio, custom, customBinary, customMultipart, customWithFixedCharset, customWithOpenCharset, equals, font, hashCode, image, isApplication, isAudio, isCompressible, isImage, isMessage, isMultipart, isText, isVideo, mainType, message, parse, subType, text, textWithFixedCharset, toRange, toRange, unapply, video, withQValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isApplication, isAudio, isCompressible, isImage, isMessage, isMultipart, isText, isVideo, mainType, subType, toRange, toRange
render, toString, valueBytes
withQValue
public Binary(java.lang.String value, java.lang.String _mainType, java.lang.String _subType, MediaType.Compressibility comp, scala.collection.immutable.List<java.lang.String> fileExtensions)
public boolean binary()
MediaType
public MediaType.Compressibility comp()
public scala.collection.immutable.List<java.lang.String> fileExtensions()
fileExtensions
in class MediaType
public scala.collection.immutable.Map<java.lang.String,java.lang.String> params()
public ContentType.Binary toContentType()
toContentType
in interface MediaType.Binary
public java.lang.String value()
value
in interface LazyValueBytesRenderable
public MediaType.Binary withComp(MediaType.Compressibility comp)
public MediaType.Binary withParams(scala.collection.immutable.Map<java.lang.String,java.lang.String> params)
withParams
in class MediaType