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.
- Source
- Accept-Language.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Accept-Language
- Serializable
- Serializable
- RecurringRenderable
- Recurring
- Parsed
- Header
- Product
- Equals
- Renderable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Accept-Language(values: NonEmptyList[LanguageTag])
Type Members
-
type
Value = LanguageTag
- Definition Classes
- Accept-Language → RecurringRenderable → Recurring
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(that: Any): Boolean
- Definition Classes
- Header → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hashCode(): Int
- Definition Classes
- Header → AnyRef → Any
-
def
is(key: HeaderKey): Boolean
- Definition Classes
- Header
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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-Language → Header
-
def
isNot(key: HeaderKey): Boolean
- Definition Classes
- Header
-
def
key: Accept-Language.type
- Definition Classes
- Accept-Language → Parsed
- def name: CaseInsensitiveString
-
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()
- def parsed: Accept-Language.this.type
- def qValue(languageTag: LanguageTag): QValue
-
final
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- Header → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
-
def
renderValue(writer: Writer): writer.type
- Definition Classes
- RecurringRenderable → Header
-
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
- def satisfiedBy(languageTag: LanguageTag): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toRaw: Raw
- Definition Classes
- Header
-
def
toString(): String
- Definition Classes
- Header → Renderable → AnyRef → Any
-
def
value: String
- Definition Classes
- Header
-
val
values: NonEmptyList[LanguageTag]
- Definition Classes
- Accept-Language → Recurring
-
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()
Deprecated Value Members
-
def
preferred: LanguageTag
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.1) Has confusing semantics in the presence of splat. Do not use.