final case class Language(primaryTag: String, subTags: Seq[String]) extends javadsl.model.headers.Language with ValueRenderable with WithQValue[LanguageRange] with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Language
- Serializable
- Product
- Equals
- WithQValue
- ValueRenderable
- ToStringRenderable
- Renderable
- Language
- AnyRef
- Any
Implicitly
- by apply
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Language, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Language) => Boolean, msg: => Any): Language
- def ensuring(cond: (Language) => Boolean): Language
- def ensuring(cond: Boolean, msg: => Any): Language
- def ensuring(cond: Boolean): Language
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSubTags(): Iterable[String]
Java API
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 org.apache.pekko.http.scaladsl.model.headers.LanguageRange.
- Definition Classes
- LanguageRange → LanguageRange
- def matches(lang: Language): Boolean
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.http.scaladsl.model.headers.LanguageRange.
- Definition Classes
- LanguageRange
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val primaryTag: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def qValue(): Float
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.http.scaladsl.model.headers.LanguageRange.
- Definition Classes
- LanguageRange → LanguageRange
- def render[R <: Rendering](r: R): r.type
- Definition Classes
- Language → Renderable
- val subTags: Seq[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ToStringRenderable → AnyRef → Any
- def value: String
- Definition Classes
- ValueRenderable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withQValue(qValue: Float): LanguageRange
- Definition Classes
- Language → WithQValue → Language
- 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
- def getSubTags(): Iterable[String]
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- LanguageRange → LanguageRange
- def primaryTag(): String
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- LanguageRange → LanguageRange
- 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 org.apache.pekko.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
- def subTags: Seq[String]
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- def toString(): String
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- def value: String
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- 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 org.apache.pekko.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
- def withQValue(qValue: Float): LanguageRange
- Implicit
- This member is added by an implicit conversion from Language toLanguageRange performed by method apply in org.apache.pekko.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
- 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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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.