Cookie

open class Cookie : Cookie

Session cookie properties. This class is provided only for back-compatibility reasons, consider using org.springframework.boot.web.server.Cookie whenever possible.

Constructors

Link copied to clipboard
constructor()

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
Whether the generated cookie carries the Partitioned attribute.
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.