sealed abstract class HttpCharsetRange extends javadsl.model.HttpCharsetRange with ValueRenderable with WithQValue[HttpCharsetRange]

A charset range as encountered in Accept-Charset. Can either be a single charset, or * if all charsets are supported and optionally a qValue for selecting this choice.

Source
HttpCharset.scala
Linear Supertypes
WithQValue[HttpCharsetRange], ValueRenderable, ToStringRenderable, Renderable, javadsl.model.HttpCharsetRange, AnyRef, Any
Known Subclasses
*, *, One
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpCharsetRange
  2. WithQValue
  3. ValueRenderable
  4. ToStringRenderable
  5. Renderable
  6. HttpCharsetRange
  7. AnyRef
  8. 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

Abstract Value Members

  1. abstract def matches(charset: HttpCharset): Boolean
  2. abstract def qValue(): Float

    The qValue for this range.

    The qValue for this range.

    Definition Classes
    HttpCharsetRangeHttpCharsetRange
  3. abstract def withQValue(qValue: Float): HttpCharsetRange
    Definition Classes
    WithQValue

Concrete Value Members

  1. def matches(charset: javadsl.model.HttpCharset): Boolean

    Java API

    Java API

    Definition Classes
    HttpCharsetRangeHttpCharsetRange
  2. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  3. def value: String
    Definition Classes
    ValueRenderable
  4. 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