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, wait
binary, charsetOption
getCharsetOption, toString
value
public WithCharset(MediaType.WithOpenCharset mediaType, HttpCharset charset)
public MediaType.WithOpenCharset mediaType()
ContentType
mediaType
in interface ContentType
public HttpCharset charset()
charset
in interface ContentType.NonBinary
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable