implicit final class AcceptCharset extends AnyVal
Provides standardized access to Accept-Charset header.
- Alphabetic
- By Inheritance
- AcceptCharset
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AcceptCharset(request: HttpRequest)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
acceptCharset: Seq[CharsetRange]
Gets Accept-Charset header values.
Gets Accept-Charset header values.
- returns
header values or empty sequence if Accept-Charset is not present
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getAcceptCharset: Option[Seq[CharsetRange]]
Gets Accept-Charset header values if present.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
hasAcceptCharset: Boolean
Tests for Accept-Charset header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeAcceptCharset: HttpRequest
Creates new request removing Accept-Charset header.
-
def
setAcceptCharset(one: CharsetRange, more: CharsetRange*): HttpRequest
Creates new request setting Accept-Charset header to supplied values.
-
def
setAcceptCharset(values: Seq[CharsetRange]): HttpRequest
Creates new request setting Accept-Charset header to supplied values.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.