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
- val aliases: Seq[String]
- 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
- def getAliases(): Iterable[String]
Java API
Java API
- Definition Classes
- HttpCharset → HttpCharset
- 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
- 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
- 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
- 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
- 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