public.javadoc.org.spincast.plugins.session.SpincastSessionFactory.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastSessionFactory (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.session
Interface SpincastSessionFactory
-
public interface SpincastSessionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
SpincastSession
createNewSession()
Creates a new session.
SpincastSession
createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from saved infos.
-
-
Method Detail
-
createNewSession
SpincastSession createNewSession()
Creates a new session.
SpincastSession.isNew()
will return
true
.
-
createSession
SpincastSession createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from saved infos.
Copyright © 2019. All rights reserved.