Packages

final case class Language(primaryTag: String, subTags: Seq[String]) extends javadsl.model.headers.Language with ValueRenderable with WithQValue[LanguageRange] with Product with Serializable

Source
LanguageRange.scala
Linear Supertypes
Serializable, Product, Equals, WithQValue[LanguageRange], ValueRenderable, ToStringRenderable, Renderable, javadsl.model.headers.Language, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Language
  2. Serializable
  3. Product
  4. Equals
  5. WithQValue
  6. ValueRenderable
  7. ToStringRenderable
  8. Renderable
  9. Language
  10. AnyRef
  11. Any
Implicitly
  1. by apply
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Language(primaryTag: String, subTags: Seq[String])

Value Members

  1. def getSubTags(): Iterable[String]

    Java API

    Java API

    Definition Classes
    LanguageLanguage
  2. def matches(language: javadsl.model.headers.Language): Boolean

    Java API

    Java API

    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    Definition Classes
    LanguageRangeLanguageRange
  3. def matches(lang: Language): Boolean
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    Definition Classes
    LanguageRange
  4. val primaryTag: String
    Definition Classes
    LanguageLanguage
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def qValue(): Float
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    Definition Classes
    LanguageRangeLanguageRange
  7. def render[R <: Rendering](r: R): r.type
    Definition Classes
    Language → Renderable
  8. val subTags: Seq[String]
  9. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  10. def value: String
    Definition Classes
    ValueRenderable
  11. def withQValue(qValue: Float): LanguageRange
    Definition Classes
    LanguageWithQValueLanguage
  12. 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

Shadowed Implicit Value Members

  1. def getSubTags(): Iterable[String]
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).getSubTags()
    Definition Classes
    LanguageRangeLanguageRange
  2. def primaryTag(): String
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).primaryTag()
    Definition Classes
    LanguageRangeLanguageRange
  3. final def render[R <: Rendering](r: R): r.type
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).render(r)
    Definition Classes
    LanguageRange → Renderable
  4. def subTags: Seq[String]
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).subTags
    Definition Classes
    LanguageRange
  5. def toString(): String
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).toString()
    Definition Classes
    ToStringRenderable → AnyRef → Any
  6. def value: String
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).value
    Definition Classes
    ValueRenderable
  7. 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

    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).withQValue(qValue)
    Definition Classes
    WithQValue
  8. def withQValue(qValue: Float): LanguageRange
    Implicit
    This member is added by an implicit conversion from Language toLanguageRange performed by method apply in akka.http.scaladsl.model.headers.LanguageRange.
    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:
    (language: LanguageRange).withQValue(qValue)
    Definition Classes
    WithQValue