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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Language
- Serializable
- 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
- All
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( ... ) @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] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- 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 to LanguageRange performed by method apply in akka.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 to LanguageRange performed by method apply in akka.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
qValue(): Float
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange performed by method apply in akka.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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @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
- def →[B](y: B): (Language, B)
Shadowed Implicit Value Members
-
def
getSubTags(): Iterable[String]
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
- LanguageRange → LanguageRange
-
def
primaryTag(): String
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
- LanguageRange → LanguageRange
-
final
def
render[R <: Rendering](r: R): r.type
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
-
def
subTags: Seq[String]
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
-
def
value: String
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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
-
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 to LanguageRange 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
-
def
withQValue(qValue: Float): LanguageRange
- Implicit
- This member is added by an implicit conversion from Language to LanguageRange 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