|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.mmapps.commons.util.SessionUtil
public class SessionUtil
Constructor Summary | |
---|---|
SessionUtil()
|
Method Summary | |
---|---|
static void |
clean(javax.servlet.http.HttpServletRequest request)
Clean the session |
static boolean |
contains(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
contains the session a object |
static java.lang.Object |
get(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Get a object from the session |
static void |
remove(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
removes an object from the session |
static void |
set(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.Object o)
Set the object in the session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionUtil()
Method Detail |
---|
public static boolean contains(javax.servlet.http.HttpServletRequest request, java.lang.String name)
name
- Name of session attributerequest
- Http request
public static java.lang.Object get(javax.servlet.http.HttpServletRequest request, java.lang.String name)
name
- Name of session attributerequest
- Http request
public static void set(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.Object o)
name
- Name of session attributerequest
- Http requesto
- Object to add to the sessionpublic static void remove(javax.servlet.http.HttpServletRequest request, java.lang.String name)
name
- Name of session attributerequest
- Http requestpublic static void clean(javax.servlet.http.HttpServletRequest request)
request
- Http request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |