RequestCookiesExt extension

on
  • Request

Methods

addCookie(Cookie cookie) → void
Add cookies to the list of cookies. A list of cookies will be sent along with response.
getCookies() Map<String, String>
Returns the cookies received from the request. The return value does not include cookies added after the request was received.
removeCookie(Cookie cookie) → void
Changes the cookie's expiration date and adds it to the cookie list. A list of cookies will be sent along with response.