public interface SpincastSession
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
getAttributes()
Returns a mutable
JsonObject representing the
attributes of the session. |
Instant |
getCreationDate()
The Instant at which the session was created.
|
String |
getId()
The unique id of this session.
|
Instant |
getModificationDate()
The Instant at which the session was modified
for the last time.
|
void |
invalidate()
Sets the session as "not valid anymore".
|
boolean |
isDirty()
Was the session modified since it was loaded?
|
boolean |
isInvalidated()
Has the session been invalidated?
|
boolean |
isNew()
Returns
true if the session
has been created in the current request. |
void |
setDirty()
This allows you to flag a session as being
dirty, even if its attributes don't change.
|
String getId()
boolean isNew()
true if the session
has been created in the current request.JsonObject getAttributes()
JsonObject representing the
attributes of the session. You can use this object
to get/retrieve/delete attributes.Instant getCreationDate()
Instant getModificationDate()
boolean isDirty()
void setDirty()
void invalidate()
boolean isInvalidated()
Copyright © 2018. All rights reserved.