| Package | Description |
|---|---|
| org.spincast.plugins.session | |
| org.spincast.plugins.session.repositories |
| Modifier and Type | Class and Description |
|---|---|
class |
SpincastSessionDefault |
| Modifier and Type | Method and Description |
|---|---|
SpincastSession |
SpincastSessionManagerDefault.createNewSession() |
SpincastSession |
SpincastSessionManager.createNewSession()
Creates a new session.
|
SpincastSession |
SpincastSessionFactory.createNewSession()
Creates a new session.
|
SpincastSession |
SpincastSessionManagerDefault.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes) |
SpincastSession |
SpincastSessionManager.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from infos, with existing
attributes if any (
null otherwise) |
SpincastSession |
SpincastSessionFactory.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from saved infos.
|
SpincastSession |
SpincastSessionManagerDefault.getCurrentSession() |
SpincastSession |
SpincastSessionManager.getCurrentSession()
Gets the session of the current user, from the
request context.
|
SpincastSession |
SpincastSessionManagerDefault.getSavedSession(String sessionId) |
SpincastSession |
SpincastSessionManager.getSavedSession(String sessionId)
Gets a session from the database/data source.
|
SpincastSession |
SpincastSessionRepository.getSession(String sessionId)
Gets a session from the database/data source.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends SpincastSession> |
SpincastSessionPluginModule.getSpincastUserSessionImplClass() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SpincastSessionFilterDefault.isUpdateModificationDateEvenIfNotDirty(SpincastSession session) |
void |
SpincastSessionRepository.saveSession(SpincastSession session)
Save a session.
|
void |
SpincastSessionManagerDefault.saveSession(SpincastSession session) |
void |
SpincastSessionManager.saveSession(SpincastSession session)
Save session.
|
void |
SpincastSessionManagerDefault.updateModificationDateAndSaveSession(SpincastSession session) |
void |
SpincastSessionManager.updateModificationDateAndSaveSession(SpincastSession session)
Saves a session, but update its modification date first.
|
| Modifier and Type | Method and Description |
|---|---|
protected SpincastSession |
SpincastSessionRepositoryDefault.createNewSpincastSession() |
protected SpincastSession |
SpincastSessionRepositoryDefault.deserializeSession(String sessionValue) |
SpincastSession |
SpincastSessionRepositoryDefault.getSession(String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastSessionRepositoryDefault.saveSession(SpincastSession session) |
protected String |
SpincastSessionRepositoryDefault.serializeSession(SpincastSession session) |
Copyright © 2019. All rights reserved.