|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp
Class Session

java.lang.Objectcom.tripi.asp.Session
- All Implemented Interfaces:
- SimpleMap
- public class Session
- extends java.lang.Object
- implements SimpleMap
- extends java.lang.Object
Session class, implements the ASP "Session" object.
Status:
- CodePage - Not implemented
- LCID - Not implemented
- SessionID - Not implemented
- Timeout - Not implemented
- Contents - Implemented TODO Have to implement ASP syntax
- Contents.Remove - Not implemented
- Contents.RemoveAll - Not implemented
- StaticObjects - Not implemented
- Abandon - Implmented
- Version:
- 0.9
| Nested Class Summary | |
(package private) class |
Session.ContentsReference
This class handles the Contents variable, which is not defined until it is first accessed. |
| Field Summary | |
(package private) AspCollection |
collection
The actual collection contents |
SimpleReference |
Contents
Reference to the collection object |
private static org.apache.log4j.Category |
DBG
Debugging category |
(package private) javax.servlet.http.HttpSession |
httpSession
HTTP Session |
int |
LCID
Session LCID value |
(package private) AspContext |
localContext
Local context, Session_OnStart and Session_OnEnd are executed under this context |
(package private) javax.servlet.http.HttpServletRequest |
request
HTTP Request object |
int |
timeout
Session timeout value |
| Constructor Summary | |
|
Session(javax.servlet.http.HttpServletRequest request,
AspContext localContext)
Constructor. |
protected |
Session(javax.servlet.http.HttpSession session,
AspCollection aspCollection)
Special, protected constructor for use with Session_OnStart and Session_OnEnd. |
| Method Summary | |
void |
abandon()
ASP function, abandons the current session. |
java.lang.Object |
get(java.lang.Object key)
Obtains a value in the session object, implementing the SimpleMap.get function. |
java.util.Enumeration |
getKeys()
Obtains the keys of the map interface. |
private void |
getSession()
Internal function which obtains the current, active session. |
protected void |
getSessionIfExists()
Internal function to obtain the session if it already exists. |
void |
put(java.lang.Object key,
java.lang.Object value)
Stores a value in the session. |
java.lang.String |
SessionID()
ASP function, obtains the session identifier |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DBG
private static final org.apache.log4j.Category DBG
- Debugging category
httpSession
javax.servlet.http.HttpSession httpSession
- HTTP Session
request
javax.servlet.http.HttpServletRequest request
- HTTP Request object
collection
AspCollection collection
- The actual collection contents
localContext
AspContext localContext
- Local context, Session_OnStart and Session_OnEnd are executed under
this context
Contents
public SimpleReference Contents
- Reference to the collection object
timeout
public int timeout
- Session timeout value
LCID
public int LCID
- Session LCID value
| Constructor Detail |
Session
public Session(javax.servlet.http.HttpServletRequest request, AspContext localContext)
- Constructor.
Session
protected Session(javax.servlet.http.HttpSession session, AspCollection aspCollection)
- Special, protected constructor for use with Session_OnStart and
Session_OnEnd.
| Method Detail |
get
public java.lang.Object get(java.lang.Object key) throws AspException
- Obtains a value in the session object, implementing the SimpleMap.get
function. Key will be converted to string and is case insensitive.
put
public void put(java.lang.Object key, java.lang.Object value) throws AspException
- Stores a value in the session. Key will be converted to string
and is case insensitive.
getKeys
public java.util.Enumeration getKeys() throws AspException
abandon
public void abandon()
throws AspException
- ASP function, abandons the current session.
SessionID
public java.lang.String SessionID() throws AspException
- ASP function, obtains the session identifier
getSessionIfExists
protected void getSessionIfExists()
throws AspException
- Internal function to obtain the session if it already exists.
getSession
private void getSession()
throws AspException
- Internal function which obtains the current, active session.
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.tripi.asp.Session