The cookie name.
The cookie name.
Builds the cookie object from the given data map.
Builds the cookie object from the given data map.
the data map to build the cookie object
a new cookie object
Default cookie, returned in case of error or if missing in the HTTP headers.
Default cookie, returned in case of error or if missing in the HTTP headers.
Converts the given cookie object into a data map.
Converts the given cookie object into a data map.
the cookie object to serialize into a map
a new Map
storing the key-value pairs for the given cookie
Decodes from an encoded String
.
Decodes the data from a Cookie
.
Encodes the data as a String
.
Encodes the data as a Cookie
.
true
if the Cookie is signed.
true
if the Cookie is signed. Defaults to false.
Trait that should be extended by the Cookie helpers.