public interface ImmutableSessionMetaData
| Modifier and Type | Method and Description |
|---|---|
Instant |
getCreationTime()
Returns the time this session was created.
|
Instant |
getLastAccessedTime()
Returns the time this session was last accessed.
|
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 getLastAccessedTime()
Duration getMaxInactiveInterval()
unit - a time unitCopyright © 2020 JBoss by Red Hat. All rights reserved.