a) getCreationTime()
Returns the time at which this session representation was created.
b) getId()
Returns the identifier assigned to this session.
c) getLastAccessedTime()
Returns the last time the client sent a request carrying the identifier assigned to the session.
d) getSessionContext()
Returns the context in which this session is bound.
e) getValue(String)
Returns the object bound to the given name in the session's application layer data.
f) getValueNames()
Returns an array of the names of all the application layer data objects bound into the
session.
g) invalidate()
Causes this representation of the session to be invalidated and removed from its context.
h) isNew()
A session is considered to be "new" if it has been created by the server, but the client has
not yet acknowledged joining the session.
j) putValue(String, Object)
Binds the specified object into the session's application layer data with the given name.
k) removeValue(String)
Removes the object bound to the given name in the session's application layer data.
SOURCE : www.referjava.com
No comments:
Post a Comment