implicit final class RequestCookies extends AnyVal
Provides access to request cookies in Cookie
header.
- Alphabetic
- By Inheritance
- RequestCookies
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RequestCookies(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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cookies: Seq[PlainCookie]
Gets cookies.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getCookie(name: String): Option[PlainCookie]
Gets specified cookie.
Gets specified cookie.
- name
cookie name
- def getCookieValue(name: String): Option[String]
Gets value of specified cookie.
Gets value of specified cookie.
- name
cookie name
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeCookies(one: String, more: String*): HttpRequest
Creates copy of request excluding cookies with given names.
Creates copy of request excluding cookies with given names.
- one
cookie name
- more
additional cookie names
- def removeCookies(names: Seq[String]): HttpRequest
Creates copy of request excluding cookies with given names.
Creates copy of request excluding cookies with given names.
- names
cookie names
- def toString(): String
- Definition Classes
- Any
- def withCookie(cookie: PlainCookie): HttpRequest
Creates copy of request with supplied cookie.
Creates copy of request with supplied cookie.
If a cookie already exists with given name, the existing cookie is replaced with the new cookie.
- def withCookies(one: PlainCookie, more: PlainCookie*): HttpRequest
Creates copy of request with new set of cookies.
Creates copy of request with new set of cookies.
- one
new cookie
- more
additional new cookies
- def withCookies(cookies: Seq[PlainCookie]): HttpRequest
Creates copy of request with new set of cookies.
Creates copy of request with new set of cookies.
- cookies
new set of cookies
Provided herein is API documentation for Scamper, the HTTP library for Scala.