|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wwm.context.servlet.WebSessionContext
public class WebSessionContext
Bean that contains all session data that we want to be able to share between different requests for a given session. Interface is designed to be like javax.servlet.Session where possible.
| Constructor Summary | |
|---|---|
WebSessionContext(javax.servlet.http.HttpSession httpSession)
Construct one |
|
| Method Summary | |
|---|---|
Object |
get(String name)
Get named object |
String |
getSessionId()
|
void |
invalidate()
Invalidate session |
void |
set(String name,
Object objInstance)
Set object for a given name |
void |
setSessionId(String id)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebSessionContext(javax.servlet.http.HttpSession httpSession)
| Method Detail |
|---|
public String getSessionId()
getSessionId in interface SessionContextpublic void setSessionId(String id)
setSessionId in interface SessionContextpublic Object get(String name)
get in interface SessionContextname -
public void set(String name,
Object objInstance)
set in interface SessionContextname - objInstance - public void invalidate()
invalidate in interface SessionContextpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||