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.
|
boolean |
isExpired()
Indicates whether or not this session was previously idle for longer than the maximum inactive interval.
|
boolean |
isNew()
Indicates whether or not this session was created by the current thread.
|
boolean isNew()
boolean isExpired()
Instant getCreationTime()
Instant getLastAccessedTime()
Duration getMaxInactiveInterval()
unit
- a time unitCopyright © 2016 JBoss by Red Hat. All rights reserved.