public interface Session<L> extends ImmutableSession, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that the application thread is finished with this session.
|
SessionAttributes |
getAttributes()
Returns this session's attributes.
|
L |
getLocalContext()
Returns the local context of this session.
|
SessionMetaData |
getMetaData()
Returns this session's meta data.
|
void |
invalidate()
Invalidates this session.
|
boolean |
isValid()
Indicates whether or not this session is valid.
|
getId
SessionMetaData getMetaData()
getMetaData
in interface ImmutableSession
boolean isValid()
void invalidate()
IllegalStateException
- if this session was already invalidated.SessionAttributes getAttributes()
getAttributes
in interface ImmutableSession
void close()
close
in interface AutoCloseable
L getLocalContext()
Copyright © 2017 JBoss by Red Hat. All rights reserved.