final case class LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil) extends Renderable with Product with Serializable
- Source
- LanguageTag.scala
- Alphabetic
- By Inheritance
- LanguageTag
- Serializable
- Serializable
- Product
- Equals
- Renderable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil)
Value Members
- def matches(languageTag: LanguageTag): Boolean
- val primaryTag: String
- val q: QValue
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- LanguageTag → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
- val subTags: List[String]
-
def
toString(): String
- Definition Classes
- Renderable → Any
- def withQValue(q: QValue): LanguageTag
Deprecated Value Members
-
def
satisfiedBy(encoding: LanguageTag): Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use
Accept-Language
.satisfiedBy(encoding)
-
def
satisfies(encoding: LanguageTag): Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use
Accept-Language
.satisfiedBy(encoding)
-
def
withQuality(q: QValue): LanguageTag
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Use languageTag.withQValue