final case class HttpCharset extends javadsl.model.HttpCharset with SingletonValueRenderable with WithQValue[HttpCharsetRange] with Product with Serializable

Source
HttpCharset.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpCharset
  2. Serializable
  3. WithQValue
  4. SingletonValueRenderable
  5. Renderable
  6. Product
  7. Equals
  8. HttpCharset
  9. AnyRef
  10. Any
Implicitly
  1. by apply
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val aliases: Seq[String]
  2. def charsetWithUtf8Failover: HttpCharset

    returns

    this HttpCharset instance if this charset can be parsed to a java.nio.charset.Charset instance, otherwise returns the UTF-8 charset.

    Since

    1.1.0

  3. def getAliases(): Iterable[String]

    Java API

    Java API

    Definition Classes
    HttpCharsetHttpCharset
  4. def matches(charset: javadsl.model.HttpCharset): Boolean

    Java API

    Java API

    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Definition Classes
    HttpCharsetRangeHttpCharsetRange
  5. def matches(charset: HttpCharset): Boolean
    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Definition Classes
    HttpCharsetRange
  6. def nioCharset(): Charset

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

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

    Definition Classes
    HttpCharsetHttpCharset
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. def qValue(): Float

    The qValue for this range.

    The qValue for this range.

    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Definition Classes
    HttpCharsetRangeHttpCharsetRange
  9. def render[R <: Rendering](r: R): r.type
    Definition Classes
    SingletonValueRenderable → Renderable
  10. def toRange(): HttpCharsetRange

    Creates a range from this charset with qValue = 1.

    Creates a range from this charset with qValue = 1.

    Definition Classes
    HttpCharsetHttpCharset
  11. def toRange(qValue: Float): javadsl.model.HttpCharsetRange

    Creates a range from this charset with the given qValue.

    Creates a range from this charset with the given qValue.

    Definition Classes
    HttpCharset
  12. def toString(): String
    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Definition Classes
    ToStringRenderable → AnyRef → Any
  13. val value: String

    Returns the name of this charset.

    Returns the name of this charset.

    Definition Classes
    HttpCharset → SingletonValueRenderable → HttpCharset
  14. def withQValue(qValue: Float): HttpCharsetRange

    An alias for toRange(float).

    An alias for toRange(float).

    Definition Classes
    HttpCharsetWithQValueHttpCharset
  15. def withQValue(qValue: Double): HttpCharsetRange

    truncates Double qValue to float and returns a new instance with this qValue set

    truncates Double qValue to float and returns a new instance with this qValue set

    Definition Classes
    WithQValue

Shadowed Implicit Value Members

  1. def value: String
    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (httpCharset: HttpCharsetRange).value
    Definition Classes
    ValueRenderable
  2. def withQValue(qValue: Double): HttpCharsetRange

    truncates Double qValue to float and returns a new instance with this qValue set

    truncates Double qValue to float and returns a new instance with this qValue set

    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (httpCharset: HttpCharsetRange).withQValue(qValue)
    Definition Classes
    WithQValue
  3. def withQValue(qValue: Float): HttpCharsetRange
    Implicit
    This member is added by an implicit conversion from HttpCharset toHttpCharsetRange performed by method apply in org.apache.pekko.http.scaladsl.model.HttpCharsetRange.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (httpCharset: HttpCharsetRange).withQValue(qValue)
    Definition Classes
    WithQValue