Package io.jmix.sessions
Class SessionRepositoryWrapper.SessionWrapper
java.lang.Object
io.jmix.sessions.SessionRepositoryWrapper.SessionWrapper
- All Implemented Interfaces:
org.springframework.session.Session
- Enclosing class:
- SessionRepositoryWrapper<S extends org.springframework.session.Session>
public final class SessionRepositoryWrapper.SessionWrapper
extends Object
implements org.springframework.session.Session
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
getAttribute
(String attributeName) getId()
boolean
void
removeAttribute
(String attributeName) void
setAttribute
(String attributeName, Object attributeValue) void
setLastAccessedTime
(Instant lastAccessedTime) void
setMaxInactiveInterval
(Duration interval) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.session.Session
getAttributeOrDefault, getRequiredAttribute
-
Constructor Details
-
SessionWrapper
-
-
Method Details
-
getNonPersistentAttributes
-
getSession
-
getId
- Specified by:
getId
in interfaceorg.springframework.session.Session
-
changeSessionId
- Specified by:
changeSessionId
in interfaceorg.springframework.session.Session
-
getAttribute
- Specified by:
getAttribute
in interfaceorg.springframework.session.Session
-
getAttributeNames
- Specified by:
getAttributeNames
in interfaceorg.springframework.session.Session
-
setAttribute
- Specified by:
setAttribute
in interfaceorg.springframework.session.Session
-
removeAttribute
- Specified by:
removeAttribute
in interfaceorg.springframework.session.Session
-
getCreationTime
- Specified by:
getCreationTime
in interfaceorg.springframework.session.Session
-
setLastAccessedTime
- Specified by:
setLastAccessedTime
in interfaceorg.springframework.session.Session
-
getLastAccessedTime
- Specified by:
getLastAccessedTime
in interfaceorg.springframework.session.Session
-
setMaxInactiveInterval
- Specified by:
setMaxInactiveInterval
in interfaceorg.springframework.session.Session
-
getMaxInactiveInterval
- Specified by:
getMaxInactiveInterval
in interfaceorg.springframework.session.Session
-
isExpired
public boolean isExpired()- Specified by:
isExpired
in interfaceorg.springframework.session.Session
-