public interface ConfigurableWebSession extends WebSession
WebSession
with management operations meant for internal use
for example by implementations of WebSessionManager
.Modifier and Type | Method and Description |
---|---|
void |
setLastAccessTime(java.time.Instant time)
Update the last access time for user-related session activity.
|
void |
setSaveOperation(java.util.function.Supplier<<any>> saveOperation)
Set the operation to invoke when
WebSession.save() is invoked. |
getAttribute, getAttributes, getCreationTime, getId, getLastAccessTime, getMaxIdleTime, isExpired, isStarted, save, setMaxIdleTime, start
void setLastAccessTime(java.time.Instant time)
time
- the time of accessvoid setSaveOperation(java.util.function.Supplier<<any>> saveOperation)
WebSession.save()
is invoked.saveOperation
- the save operation