abstract class HttpCharset extends AnyRef

Represents a charset in Http. See HttpCharsets for a set of predefined charsets and static constructors to create custom charsets.

Source
HttpCharset.java
See also

HttpCharsets for convenience access to often used values.

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpCharset
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpCharset()

Abstract Value Members

  1. abstract def getAliases(): Iterable[String]

    Returns the predefined alias names for this charset.

  2. abstract def nioCharset(): Charset

    Returns the Charset for this charset if available or throws an exception otherwise.

  3. abstract def value(): String

    Returns the name of this charset.

  4. abstract def withQValue(qValue: Float): HttpCharsetRange

    An alias for toRange(float).

Concrete Value Members

  1. def toRange(qValue: Float): HttpCharsetRange

    Creates a range from this charset with the given qValue.

  2. def toRange(): HttpCharsetRange

    Creates a range from this charset with qValue = 1.