|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.jsdkapi.ServletAPI2_2Session
| Constructor Summary | |
ServletAPI2_2Session()
|
|
| Method Summary | |
Serializable |
getAttribute(HttpServletRequest req,
String code)
Get an attribute from the session |
Enumeration |
getAttributeNames(HttpServletRequest req)
Get all the attribute names from the request |
String |
getContextPath(HttpServletRequest req)
Get a sessions's current context path |
String |
getId(HttpServletRequest req)
Gets the Session ID |
void |
invalidate(HttpServletRequest req)
Invalidates the current user's session |
void |
removeAttribute(HttpServletRequest req,
String code)
Removes a session attribute |
void |
setAttribute(HttpServletRequest req,
String code,
Serializable value)
Sets a session attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServletAPI2_2Session()
| Method Detail |
public Serializable getAttribute(HttpServletRequest req,
String code)
throws ServletException
APIAwareSession
getAttribute in interface APIAwareSessionreq - The Servlet Requestcode - The Attribute 'key'
ServletException
public Enumeration getAttributeNames(HttpServletRequest req)
throws ServletException
APIAwareSession
getAttributeNames in interface APIAwareSessionreq - The servlet request object
ServletException - upon error
public void setAttribute(HttpServletRequest req,
String code,
Serializable value)
throws ServletException
setAttribute in interface APIAwareSessionreq - The servlet requestcode - The attribute 'key'value - The new value to set this attribute value to.
ServletException
public void removeAttribute(HttpServletRequest req,
String code)
throws ServletException
removeAttribute in interface APIAwareSessionreq - The servlet requestcode - The attribute 'key' that you wish to removed
ServletException - upon errorpublic void invalidate(HttpServletRequest req)
invalidate in interface APIAwareSessionreq - The servlet request objectpublic String getId(HttpServletRequest req)
getId in interface APIAwareSessionreq - A servlet request object
public String getContextPath(HttpServletRequest req)
getContextPath in interface APIAwareSessionreq - a Servlet Request Object
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||