|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.servlet.HttpSessionUtil
public final class HttpSessionUtil
Provides static utility methods for dealing with HttpSessions.
This class is multithread safe: it is stateless.
HttpSession
Constructor Summary | |
---|---|
private |
HttpSessionUtil()
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class. |
Method Summary | |
---|---|
static String |
getCreationTime(HttpSession session)
Returns a String description of the supplied HttpSession's creation time. |
static String |
toString(HttpSession session)
Returns a String description of the supplied HttpSession. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private HttpSessionUtil()
Method Detail |
---|
public static String toString(HttpSession session) throws IllegalArgumentException
IllegalArgumentException
- if session is nullpublic static String getCreationTime(HttpSession session) throws IllegalArgumentException
IllegalArgumentException
- if session is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |