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