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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Language toany2stringadd[Language] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Language, B)
    Implicit
    This member is added by an implicit conversion from Language toArrowAssoc[Language] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. def ensuring(cond: (Language) => Boolean, msg: => Any): Language
    Implicit
    This member is added by an implicit conversion from Language toEnsuring[Language] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Language) => Boolean): Language
    Implicit
    This member is added by an implicit conversion from Language toEnsuring[Language] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): Language
    Implicit
    This member is added by an implicit conversion from Language toEnsuring[Language] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Language
    Implicit
    This member is added by an implicit conversion from Language toEnsuring[Language] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def getSubTags(): Iterable[String]

    Java API

    Java API

    Definition Classes
    LanguageLanguage
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. 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
  17. 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
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. val primaryTag: String
    Definition Classes
    LanguageLanguage
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. 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
  24. def render[R <: Rendering](r: R): r.type
    Definition Classes
    Language → Renderable
  25. val subTags: Seq[String]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  28. def value: String
    Definition Classes
    ValueRenderable
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. def withQValue(qValue: Float): LanguageRange
    Definition Classes
    LanguageWithQValueLanguage
  33. 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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Language toStringFormat[Language] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (Language, B)
    Implicit
    This member is added by an implicit conversion from Language toArrowAssoc[Language] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithQValue[LanguageRange]

Inherited from ValueRenderable

Inherited from ToStringRenderable

Inherited from Renderable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion apply fromLanguage to LanguageRange

Inherited by implicit conversion any2stringadd fromLanguage to any2stringadd[Language]

Inherited by implicit conversion StringFormat fromLanguage to StringFormat[Language]

Inherited by implicit conversion Ensuring fromLanguage to Ensuring[Language]

Inherited by implicit conversion ArrowAssoc fromLanguage to ArrowAssoc[Language]

Ungrouped