CookieHolderManager class

Constructors

CookieHolderManager()

Properties

cookieDomain ↔ String
read / write
cookieMaxAge ↔ int
read / write
cookieName ↔ String
read / write
cookiePath ↔ String
read / write
cookieSecure ↔ bool
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addCookie(HttpResponse response, String cookieValue) → void
Add a cookie with the given value to the response, using the cookie descriptor settings of this generator. [...]
createCookie(String cookieValue) → Cookie
Create a cookie with the given value, using the cookie descriptor settings of this manager (except for "cookieMaxAge"). [...]
getCookie(HttpRequest request) → Cookie
Getting the cookie according to the request and the cookie name. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeCookie(HttpResponse response) → void
Remove the cookie that this generator describes from the response. Will generate a cookie with empty value and max age 0. [...]
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Static Properties

Default path that cookies will be visible to: "/", i.e. the entire server.
final
logger → Logger
final