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