ContentLanguage

scamper.http.headers.ContentLanguage
final class ContentLanguage[T <: HttpMessage](message: T) extends AnyVal

Adds standardized access to Content-Language header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets Content-Language header values.

Gets Content-Language header values.

Attributes

Returns

header values or empty sequence if Content-Language is not present

Gets Content-Language header values if present.

Gets Content-Language header values if present.

Attributes

Creates new message with Content-Language header removed.

Creates new message with Content-Language header removed.

Attributes

def hasContentLanguage: Boolean

Tests for Content-Language header.

Tests for Content-Language header.

Attributes

def setContentLanguage(values: Seq[LanguageTag]): T

Creates new message with Content-Language header set to supplied values.

Creates new message with Content-Language header set to supplied values.

Attributes

Creates new message with Content-Language header set to supplied values.

Creates new message with Content-Language header set to supplied values.

Attributes