Packages

final case class Accept-Language(values: NonEmptyList[LanguageTag]) extends RecurringRenderable with Product with Serializable

Request header used to indicate which natural language would be preferred for the response to be translated into.

RFC-7231 Section 5.3.5

Source
Accept-Language.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Accept-Language
  2. Serializable
  3. Serializable
  4. RecurringRenderable
  5. Recurring
  6. Parsed
  7. Header
  8. Product
  9. Equals
  10. Renderable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Accept-Language(values: NonEmptyList[LanguageTag])

Type Members

  1. type Value = LanguageTag
    Definition Classes
    Accept-LanguageRecurringRenderableRecurring

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def equals(that: Any): Boolean
    Definition Classes
    Header → Equals → AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def hashCode(): Int
    Definition Classes
    Header → AnyRef → Any
  11. def is(key: HeaderKey): Boolean
    Definition Classes
    Header
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isNameValid: Boolean

    True if name is a valid field-name per RFC7230.

    True if name is a valid field-name per RFC7230. Where it is not, the header may be dropped by the backend.

    Definition Classes
    Accept-LanguageHeader
  14. def isNot(key: HeaderKey): Boolean
    Definition Classes
    Header
  15. def key: Accept-Language.type
    Definition Classes
    Accept-LanguageParsed
  16. def name: CaseInsensitiveString
    Definition Classes
    ParsedHeader
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def parsed: Accept-Language.this.type
    Definition Classes
    ParsedHeader
  21. def qValue(languageTag: LanguageTag): QValue
  22. final def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    HeaderRenderable
  23. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  24. def renderValue(writer: Writer): writer.type
    Definition Classes
    RecurringRenderableHeader
  25. def renderedLength: Long

    Length of the rendered header, including name and final '\r\n'

    Length of the rendered header, including name and final '\r\n'

    Definition Classes
    Header
  26. def satisfiedBy(languageTag: LanguageTag): Boolean
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toRaw: Raw
    Definition Classes
    Header
  29. def toString(): String
    Definition Classes
    HeaderRenderable → AnyRef → Any
  30. def value: String
    Definition Classes
    Header
  31. val values: NonEmptyList[LanguageTag]
    Definition Classes
    Accept-LanguageRecurring
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def preferred: LanguageTag
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.1) Has confusing semantics in the presence of splat. Do not use.

Inherited from Serializable

Inherited from Serializable

Inherited from RecurringRenderable

Inherited from Recurring

Inherited from Parsed

Inherited from Header

Inherited from Product

Inherited from Equals

Inherited from Renderable

Inherited from AnyRef

Inherited from Any

Ungrouped