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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from HttpCharset toany2stringadd[HttpCharset] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (HttpCharset, B)
    Implicit
    This member is added by an implicit conversion from HttpCharset toArrowAssoc[HttpCharset] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val aliases: Seq[String]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def ensuring(cond: (HttpCharset) => Boolean, msg: => Any): HttpCharset
    Implicit
    This member is added by an implicit conversion from HttpCharset toEnsuring[HttpCharset] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (HttpCharset) => Boolean): HttpCharset
    Implicit
    This member is added by an implicit conversion from HttpCharset toEnsuring[HttpCharset] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): HttpCharset
    Implicit
    This member is added by an implicit conversion from HttpCharset toEnsuring[HttpCharset] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): HttpCharset
    Implicit
    This member is added by an implicit conversion from HttpCharset toEnsuring[HttpCharset] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getAliases(): Iterable[String]

    Java API

    Java API

    Definition Classes
    HttpCharsetHttpCharset
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. 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
  20. 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
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. 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
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. 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
  27. def render[R <: Rendering](r: R): r.type
    Definition Classes
    SingletonValueRenderable → Renderable
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toRange(): HttpCharsetRange

    Creates a range from this charset with qValue = 1.

    Creates a range from this charset with qValue = 1.

    Definition Classes
    HttpCharsetHttpCharset
  30. 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
  31. 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
  32. val value: String

    Returns the name of this charset.

    Returns the name of this charset.

    Definition Classes
    HttpCharset → SingletonValueRenderable → HttpCharset
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def withQValue(qValue: Float): HttpCharsetRange

    An alias for toRange(float).

    An alias for toRange(float).

    Definition Classes
    HttpCharsetWithQValueHttpCharset
  37. 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

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from HttpCharset toStringFormat[HttpCharset] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (HttpCharset, B)
    Implicit
    This member is added by an implicit conversion from HttpCharset toArrowAssoc[HttpCharset] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from SingletonValueRenderable

Inherited from Renderable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion apply fromHttpCharset to HttpCharsetRange

Inherited by implicit conversion any2stringadd fromHttpCharset to any2stringadd[HttpCharset]

Inherited by implicit conversion StringFormat fromHttpCharset to StringFormat[HttpCharset]

Inherited by implicit conversion Ensuring fromHttpCharset to Ensuring[HttpCharset]

Inherited by implicit conversion ArrowAssoc fromHttpCharset to ArrowAssoc[HttpCharset]

Ungrouped