public interface SessionCreationMetaData extends ImmutableSessionCreationMetaData, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Signals the end of the transient lifecycle of this session, typically triggered at the end of a given request.
|
boolean |
invalidate()
Invalidates this session.
|
boolean |
isNew()
Indicates whether or not this session was newly created.
|
boolean |
isValid()
Indicates whether or not this session has been invalidated.
|
void |
setMaxInactiveInterval(Duration duration)
Sets the maximum duration of time this session may remain idle before it will be expired by the session manager.
|
getCreationTime, getMaxInactiveIntervalvoid setMaxInactiveInterval(Duration duration)
a - maximum duration of time this session may remain idle before it will be expired by the session manager.boolean isValid()
boolean invalidate()
boolean isNew()
void close()
close in interface AutoCloseableCopyright © 2022 JBoss by Red Hat. All rights reserved.