Packages

final case class LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil) extends Renderable with Product with Serializable

Source
LanguageTag.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LanguageTag
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Renderable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: List[String] = Nil)

Value Members

  1. def matches(languageTag: LanguageTag): Boolean
  2. val primaryTag: String
  3. val q: QValue
  4. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    LanguageTagRenderable
  5. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  6. val subTags: List[String]
  7. def toString(): String
    Definition Classes
    Renderable → Any
  8. def withQValue(q: QValue): LanguageTag

Deprecated Value Members

  1. def satisfiedBy(encoding: LanguageTag): Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.1) Use Accept-Language.satisfiedBy(encoding)

  2. def satisfies(encoding: LanguageTag): Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.1) Use Accept-Language.satisfiedBy(encoding)

  3. def withQuality(q: QValue): LanguageTag
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.1) Use languageTag.withQValue