public class MemorySessionStore extends SessionStore.InMemory
SessionStore.InMemory
DEFAULT_TIMEOUT
Constructor and Description |
---|
MemorySessionStore(SessionToken token,
Duration timeout) |
Modifier and Type | Method and Description |
---|---|
Session |
findSession(Context ctx)
Find an existing session by ID.
|
SessionStore |
setTimeout(Duration timeout) |
deleteSession, getToken, newSession, renewSessionId, saveSession, setToken, touchSession
public MemorySessionStore(SessionToken token, Duration timeout)
public Session findSession(Context ctx)
SessionStore
Session.setLastAccessedTime(Instant)
findSession
in interface SessionStore
findSession
in class SessionStore.InMemory
ctx
- Web context.null
.public SessionStore setTimeout(Duration timeout)
Copyright © 2020. All rights reserved.