Packages

final case class One(language: Language, qValue: Float) extends LanguageRange with Product with Serializable

Source
LanguageRange.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. One
  2. Serializable
  3. Product
  4. Equals
  5. LanguageRange
  6. WithQValue
  7. ValueRenderable
  8. ToStringRenderable
  9. Renderable
  10. LanguageRange
  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(language: Language, qValue: Float)

Value Members

  1. def getSubTags(): Iterable[String]
    Definition Classes
    LanguageRangeLanguageRange
  2. val language: Language
  3. def matches(l: Language): Boolean
    Definition Classes
    OneLanguageRange
  4. def matches(language: javadsl.model.headers.Language): Boolean

    Java API

    Java API

    Definition Classes
    LanguageRangeLanguageRange
  5. def primaryTag(): String
    Definition Classes
    OneLanguageRangeLanguageRange
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. val qValue: Float
    Definition Classes
    OneLanguageRangeLanguageRange
  8. final def render[R <: Rendering](r: R): r.type
    Definition Classes
    LanguageRange → Renderable
  9. def subTags: Seq[String]
    Definition Classes
    OneLanguageRange
  10. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  11. def value: String
    Definition Classes
    ValueRenderable
  12. def withQValue(qValue: Float): One
    Definition Classes
    OneWithQValueLanguageRange
  13. def withQValue(qValue: Double): LanguageRange

    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