public interface CookieConfiguration
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getCookieDomain()
Gets the domain name of this Cookie.
|
java.util.Optional<java.time.temporal.TemporalAmount> |
getCookieMaxAge() |
java.lang.String |
getCookieName() |
java.util.Optional<java.lang.String> |
getCookiePath()
The path of the cookie.
|
default java.util.Optional<SameSite> |
getCookieSameSite() |
java.util.Optional<java.lang.Boolean> |
isCookieHttpOnly()
Checks to see if this
Cookie can only be accessed via HTTP. |
java.util.Optional<java.lang.Boolean> |
isCookieSecure() |
@NonNull java.lang.String getCookieName()
java.util.Optional<java.lang.String> getCookieDomain()
java.util.Optional<java.lang.String> getCookiePath()
java.util.Optional<java.lang.Boolean> isCookieHttpOnly()
Cookie
can only be accessed via HTTP.java.util.Optional<java.lang.Boolean> isCookieSecure()
java.util.Optional<java.time.temporal.TemporalAmount> getCookieMaxAge()
default java.util.Optional<SameSite> getCookieSameSite()