Interface CookieConfiguration
public interface CookieConfiguration
An interface representing the configuration of a Cookie.
- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionGets the domain name of this Cookie.The path of the cookie.Checks to see if thisCookiecan only be accessed via HTTP.
-
Method Details
-
getCookieName
String getCookieName()- Returns:
- The name of the cookie
-
getCookieDomain
-
getCookiePath
-
isCookieHttpOnly
-
isCookieSecure
-
getCookieMaxAge
Optional<TemporalAmount> getCookieMaxAge()- Returns:
- The max age to use for the cookie
-
getCookieSameSite
-