public interface ImmutableSessionMetaData
| Modifier and Type | Method and Description |
|---|---|
Instant |
getCreationTime()
Returns the time this session was created.
|
Instant |
getLastAccessEndTime()
Returns the end time of the last request to access this session.
|
Instant |
getLastAccessStartTime()
Returns the start time of the last request to access this session.
|
Duration |
getMaxInactiveInterval()
Returns the time interval, using the specified unit, after which this session will expire.
|
default boolean |
isExpired()
Indicates whether or not this session was previously idle for longer than the maximum inactive interval.
|
default boolean |
isNew()
Indicates whether or not this session was created by the current thread.
|
default boolean isNew()
default boolean isExpired()
Instant getCreationTime()
Instant getLastAccessStartTime()
Instant getLastAccessEndTime()
Duration getMaxInactiveInterval()
unit - a time unitCopyright © 2021 JBoss by Red Hat. All rights reserved.