|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.command.SessionImpl
Implementation of Session interface.
| Constructor Summary | |
|---|---|
SessionImpl(javax.servlet.http.HttpSession httpSession)
Constructs a new SessionImpl object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the object bound with the specified name in this session, or null if no object is bound under the name. |
java.lang.String |
getId()
Returns a string containing the unique identifier assigned to this session. |
void |
removeAttribute(java.lang.String name)
Removes the object bound with the specified name from this session. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Binds an object to this session, using the name specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionImpl(javax.servlet.http.HttpSession httpSession)
SessionImpl object.
httpSession - HttpSession source HttpSession.| Method Detail |
public java.lang.String getId()
getId in interface SessionSession.getId()
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface Sessionname - String the name to which the object is bound; cannot be
null.value - Object the object to be bound.Session.setAttribute(String, Object)public java.lang.Object getAttribute(java.lang.String name)
null if no object is bound under the name.
getAttribute in interface Sessionname - String a string specifying the name of the object.
Session.getAttribute(String)public void removeAttribute(java.lang.String name)
removeAttribute in interface Sessionname - String the name of the object to remove from this session.Session.removeAttribute(String)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||