public final class HttpCharset extends HttpCharset implements SingletonValueRenderable, WithQValue<HttpCharsetRange>, scala.Product, java.io.Serializable
| Constructor and Description | 
|---|
| HttpCharset(java.lang.String value,
           scala.collection.immutable.Seq<java.lang.String> aliases) | 
| Modifier and Type | Method and Description | 
|---|---|
| scala.collection.immutable.Seq<java.lang.String> | aliases() | 
| HttpCharset | charsetWithUtf8Failover() | 
| static HttpCharset | custom(java.lang.String value,
      scala.collection.immutable.Seq<java.lang.String> aliases) | 
| static scala.util.Try<java.nio.charset.Charset> | findNioCharset(java.lang.String name) | 
| java.lang.Iterable<java.lang.String> | getAliases()Java API | 
| java.nio.charset.Charset | nioCharset()Returns the Charset for this charset if available or throws an exception otherwise | 
| HttpCharsetRange | toRange()Creates a range from this charset with qValue = 1. | 
| java.lang.String | value()Returns the name of this charset. | 
| HttpCharsetRange | withQValue(float qValue)An alias for toRange(float). | 
toRangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrender$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixwithQValuepublic HttpCharset(java.lang.String value,
                   scala.collection.immutable.Seq<java.lang.String> aliases)
public static HttpCharset custom(java.lang.String value, scala.collection.immutable.Seq<java.lang.String> aliases)
public static scala.util.Try<java.nio.charset.Charset> findNioCharset(java.lang.String name)
public java.lang.String value()
HttpCharsetvalue in interface SingletonValueRenderablevalue in class HttpCharsetpublic scala.collection.immutable.Seq<java.lang.String> aliases()
public java.nio.charset.Charset nioCharset()
nioCharset in class HttpCharsetpublic HttpCharset charsetWithUtf8Failover()
java.nio.charset.Charset instance, otherwise returns the UTF-8 charset.public HttpCharsetRange withQValue(float qValue)
HttpCharsetwithQValue in interface WithQValue<HttpCharsetRange>withQValue in class HttpCharsetpublic HttpCharsetRange toRange()
HttpCharsettoRange in class HttpCharsetpublic java.lang.Iterable<java.lang.String> getAliases()
getAliases in class HttpCharset