Interface SessionManager<S extends Session>
- All Known Subinterfaces:
WebUiSessionManager
public interface SessionManager<S extends Session>
Management for basic http sessions. Useful for subsystems that want to control their own sessions without relying
on the web container's (Jetty) default session management.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableCollection<? extends S>
get()
static String
getCookieName
(jakarta.servlet.http.HttpServletRequest httpServletRequest, String cookieName) Prefixes the desired cookie name with "__Secure-" if the request's scheme is httpsgetCookieValue
(jakarta.servlet.http.HttpServletRequest httpServletRequest, String cookieName, LoggerEx log) Convenience method to fetch a cookie value from an HTTP request
-
Method Details
-
getCookieName
static String getCookieName(jakarta.servlet.http.HttpServletRequest httpServletRequest, String cookieName) Prefixes the desired cookie name with "__Secure-" if the request's scheme is https -
getCookieValue
static Optional<String> getCookieValue(jakarta.servlet.http.HttpServletRequest httpServletRequest, String cookieName, LoggerEx log) Convenience method to fetch a cookie value from an HTTP request -
get
-
get
com.google.common.collect.ImmutableCollection<? extends S> get()
-