Package io.jmix.flowui.sys
Class AppCookies
java.lang.Object
io.jmix.flowui.sys.AppCookies
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCookie
(jakarta.servlet.http.Cookie cookie) void
void
protected jakarta.servlet.http.Cookie
protected jakarta.servlet.http.Cookie
getCookieIfEnabled
(String name) int
getCookieMaxAge
(String name) getCookieValue
(String name) protected org.springframework.web.context.request.ServletRequestAttributes
boolean
void
removeCookie
(String name) void
setCookiePath
(String cookiePath) void
setCookiesEnabled
(boolean cookiesEnabled) void
-
Field Details
-
COOKIE_LOCALE
- See Also:
-
COOKIE_REMEMBER_ME
- See Also:
-
COOKIE_LOGIN
- See Also:
-
COOKIE_PASSWORD
- See Also:
-
COOKIE_MAX_AGE
public static final int COOKIE_MAX_AGE- See Also:
-
requestedCookies
-
cookiePath
-
cookiesEnabled
protected boolean cookiesEnabled
-
-
Constructor Details
-
AppCookies
public AppCookies()
-
-
Method Details
-
getCookieValue
-
getCookieMaxAge
-
addCookie
-
addCookie
-
removeCookie
-
getCookieIfEnabled
-
getCookie
-
addCookie
protected void addCookie(jakarta.servlet.http.Cookie cookie) -
getRequestContext
protected org.springframework.web.context.request.ServletRequestAttributes getRequestContext() -
updateCookies
public void updateCookies() -
getCookiePath
-
setCookiePath
-
isCookiesEnabled
public boolean isCookiesEnabled() -
setCookiesEnabled
public void setCookiesEnabled(boolean cookiesEnabled)
-