public static final class ContentType.Binary extends java.lang.Object implements ContentType.Binary, ContentType, scala.Product, java.io.Serializable
ContentType.$u003B$u0020charset$eq$, ContentType.Binary, ContentType.Binary$, ContentType.NonBinary, ContentType.WithCharset, ContentType.WithCharset$, ContentType.WithFixedCharset, ContentType.WithFixedCharset$, ContentType.WithMissingCharset, ContentType.WithMissingCharset$
Constructor and Description |
---|
Binary(MediaType.Binary mediaType) |
Modifier and Type | Method and Description |
---|---|
boolean |
binary()
True if this ContentType is non-textual.
|
scala.None$ |
charsetOption() |
MediaType.Binary |
mediaType()
The media-type of this content-type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharsetOption, render, toString
value
public Binary(MediaType.Binary mediaType)
public MediaType.Binary mediaType()
ContentType
mediaType
in interface ContentType
public boolean binary()
ContentType
binary
in interface ContentType
public scala.None$ charsetOption()