Packages

final case class One(charset: HttpCharset, qValue: Float) extends HttpCharsetRange with Product with Serializable

Source
HttpCharset.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. One
  2. Serializable
  3. Product
  4. Equals
  5. HttpCharsetRange
  6. WithQValue
  7. ValueRenderable
  8. ToStringRenderable
  9. Renderable
  10. HttpCharsetRange
  11. AnyRef
  12. 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

Instance Constructors

  1. new One(charset: HttpCharset, qValue: Float)

Value Members

  1. val charset: HttpCharset
  2. def matches(charset: HttpCharset): Boolean
    Definition Classes
    OneHttpCharsetRange
  3. def matches(charset: javadsl.model.HttpCharset): Boolean

    Java API

    Java API

    Definition Classes
    HttpCharsetRangeHttpCharsetRange
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val qValue: Float

    The qValue for this range.

    The qValue for this range.

    Definition Classes
    OneHttpCharsetRangeHttpCharsetRange
  6. def render[R <: Rendering](r: R): r.type
    Definition Classes
    One → Renderable
  7. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  8. def value: String
    Definition Classes
    ValueRenderable
  9. def withQValue(qValue: Float): One

    Returns a copy of this range with the given qValue.

    Returns a copy of this range with the given qValue.

    Definition Classes
    OneWithQValueHttpCharsetRange
  10. 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