final case class HttpCharset extends javadsl.model.HttpCharset with SingletonValueRenderable with WithQValue[HttpCharsetRange] with Product with Serializable
- Alphabetic
- By Inheritance
- HttpCharset
- Serializable
- WithQValue
- SingletonValueRenderable
- Renderable
- Product
- Equals
- HttpCharset
- AnyRef
- Any
- by apply
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val aliases: Seq[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAliases(): Iterable[String]
Java API
Java API
- Definition Classes
- HttpCharset → HttpCharset
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- HttpCharsetRange → HttpCharsetRange
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- HttpCharset → HttpCharset
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- HttpCharsetRange → HttpCharsetRange
- def render[R <: Rendering](r: R): r.type
- Definition Classes
- SingletonValueRenderable → Renderable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRange(): HttpCharsetRange
Creates a range from this charset with qValue = 1.
Creates a range from this charset with qValue = 1.
- Definition Classes
- HttpCharset → HttpCharset
- 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
- 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
- val value: String
Returns the name of this charset.
Returns the name of this charset.
- Definition Classes
- HttpCharset → SingletonValueRenderable → HttpCharset
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withQValue(qValue: Float): HttpCharsetRange
An alias for toRange(float).
An alias for toRange(float).
- Definition Classes
- HttpCharset → WithQValue → HttpCharset
- 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
- 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
- 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
- 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
- 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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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.