|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javawebparts.session.SessionHelpers
This class contains static methods that are too small to warrant their own class. General session-related utility methods.
| Field Summary | |
private static org.apache.commons.logging.Log |
log
Log instance. |
| Constructor Summary | |
private |
SessionHelpers()
This is a utility class, so we want a private noarg constructor so instances cannot be created. |
| Method Summary | |
static java.util.Map |
getSessionAttributes(javax.servlet.http.HttpSession session)
This method will return a Map that can be displayed which contains all session attributes. |
static void |
logSessionAttributes(javax.servlet.http.HttpSession session)
This method is a convenience method that dumps all attributes to the log. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.commons.logging.Log log
| Constructor Detail |
private SessionHelpers()
| Method Detail |
public static void logSessionAttributes(javax.servlet.http.HttpSession session)
session - A valid HTTPSession object.public static java.util.Map getSessionAttributes(javax.servlet.http.HttpSession session)
session - A valid HttpSession object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||