public class MemorySessionStore extends SessionStore.InMemory
SessionStore.InMemoryDEFAULT_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, touchSessionpublic MemorySessionStore(SessionToken token, Duration timeout)
public Session findSession(Context ctx)
SessionStoreSession.setLastAccessedTime(Instant)findSession in interface SessionStorefindSession in class SessionStore.InMemoryctx - Web context.null.public SessionStore setTimeout(Duration timeout)
Copyright © 2020. All rights reserved.