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(Instant time)
Update the last access time for user-related session activity.
|
void |
setSaveOperation(Supplier<reactor.core.publisher.Mono<Void>> saveOperation)
Set the operation to invoke when
WebSession.save() is invoked. |
getAttribute, getAttributes, getCreationTime, getId, getLastAccessTime, getMaxIdleTime, isExpired, isStarted, save, setMaxIdleTime, startvoid setLastAccessTime(Instant time)
time - the time of accessvoid setSaveOperation(Supplier<reactor.core.publisher.Mono<Void>> saveOperation)
WebSession.save() is invoked.saveOperation - the save operation