public class SimpleImmutableSessionMetaData extends AbstractImmutableSessionMetaData
| Constructor and Description |
|---|
SimpleImmutableSessionMetaData(ImmutableSessionMetaData metaData) |
| 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.
|
isExpired, isNewpublic SimpleImmutableSessionMetaData(ImmutableSessionMetaData metaData)
public Instant getCreationTime()
ImmutableSessionMetaDatapublic Instant getLastAccessedTime()
ImmutableSessionMetaDatapublic Duration getMaxInactiveInterval()
ImmutableSessionMetaDataCopyright © 2021 JBoss by Red Hat. All rights reserved.