|
|||||||||
| Home >> All >> com >> meterware >> [ servletunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.meterware.servletunit
Class ServletUnitContext

java.lang.Objectcom.meterware.servletunit.ServletUnitContext
- class ServletUnitContext
- extends java.lang.Object
| Field Summary | |
private java.lang.String |
_contextPath
|
private SessionListenerDispatcher |
_listenerDispatcher
|
private javax.servlet.ServletContext |
_servletContext
|
private java.util.Hashtable |
_sessions
|
| Constructor Summary | |
(package private) |
ServletUnitContext(java.lang.String contextPath,
javax.servlet.ServletContext servletContext,
SessionListenerDispatcher dispatcher)
|
| Method Summary | |
(package private) java.lang.String |
getContextPath()
Returns the contextPath |
(package private) ServletUnitHttpSession |
getSession(java.lang.String id)
Returns the session with the specified ID, if any. |
(package private) java.util.Set |
getSessionIDs()
|
(package private) ServletUnitHttpSession |
getValidSession(java.lang.String sessionId,
ServletUnitHttpSession session,
boolean create)
Returns an appropriate session for a request. |
(package private) ServletUnitHttpSession |
newSession()
Creates a new session with a unique ID. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_listenerDispatcher
private SessionListenerDispatcher _listenerDispatcher
_servletContext
private javax.servlet.ServletContext _servletContext
_sessions
private java.util.Hashtable _sessions
_contextPath
private java.lang.String _contextPath
| Constructor Detail |
ServletUnitContext
ServletUnitContext(java.lang.String contextPath, javax.servlet.ServletContext servletContext, SessionListenerDispatcher dispatcher)
| Method Detail |
getSessionIDs
java.util.Set getSessionIDs()
getValidSession
ServletUnitHttpSession getValidSession(java.lang.String sessionId, ServletUnitHttpSession session, boolean create)
- Returns an appropriate session for a request. If no cached session is
getSession
ServletUnitHttpSession getSession(java.lang.String id)
- Returns the session with the specified ID, if any.
newSession
ServletUnitHttpSession newSession()
- Creates a new session with a unique ID.
getContextPath
java.lang.String getContextPath()
- Returns the contextPath
|
|||||||||
| Home >> All >> com >> meterware >> [ servletunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.meterware.servletunit.ServletUnitContext