Cookie

open class Cookie

Cookie properties.

Author

Phillip Webb

Andy Wilkinson

Brian Clozel

Weix Sun

Since

2.6.0

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
SameSite values.

Properties

Link copied to clipboard
open var domain: String
Domain for the cookie.
Link copied to clipboard
open var httpOnly: Boolean
Whether to use "HttpOnly" cookies for the cookie.
Link copied to clipboard
Maximum age of the cookie.
Link copied to clipboard
open var name: String
Name for the cookie.
Link copied to clipboard
open var path: String
Path of the cookie.
Link copied to clipboard
SameSite setting for the cookie.
Link copied to clipboard
open var secure: Boolean
Whether to always mark the cookie as secure.