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
- All
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 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(cookies: 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