public static final class ContentType.WithCharset extends java.lang.Object implements ContentType.WithCharset, ContentType.NonBinary, 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 |
|---|
WithCharset(MediaType.WithOpenCharset mediaType,
HttpCharset charset) |
| Modifier and Type | Method and Description |
|---|---|
HttpCharset |
charset() |
MediaType.WithOpenCharset |
mediaType()
The media-type of this content-type.
|
<R extends Rendering> |
render(R r) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbinary, charsetOptiongetCharsetOption, toStringvaluevaluepublic WithCharset(MediaType.WithOpenCharset mediaType, HttpCharset charset)
public MediaType.WithOpenCharset mediaType()
ContentTypemediaType in interface ContentTypepublic HttpCharset charset()
charset in interface ContentType.NonBinarypublic <R extends Rendering> Rendering render(R r)
render in interface Renderable