|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
com.ibm.btt.base.Hashtable
com.ibm.btt.sm.SessionEntry
This class only should be used by the CSSessionHandler class.
Constructor Summary | |
---|---|
SessionEntry()
This is the default constructor used to create a SessionEntry object. |
|
SessionEntry(java.lang.String type,
java.lang.String aSession,
java.lang.String aTID,
java.io.Serializable aCurrentContext,
javax.servlet.http.HttpSession aHttpSession)
This constructor creates a SessionEntry object with the session, TID, and context. |
|
SessionEntry(java.lang.String type,
java.lang.String aSession,
java.lang.String aTID,
java.io.Serializable aCurrentContext,
java.util.Locale locale,
javax.servlet.http.HttpSession aHttpSession)
This constructor creates a SessionEntry object with the session, TID, context and locale. |
|
SessionEntry(java.lang.String type,
java.lang.String aSession,
java.lang.String aTID,
java.io.Serializable aCurrentContext,
java.lang.Object aSessionObject,
javax.servlet.http.HttpSession aHttpSession)
This constructor creates a SessionEntry object with the session, TID, context and a Session Object. |
|
SessionEntry(java.lang.String type,
java.lang.String aSession,
java.lang.String aTID,
java.io.Serializable aCurrentContext,
java.lang.Object aSessionObject,
java.util.Locale locale,
javax.servlet.http.HttpSession aHttpSession)
This constructor creates a SessionEntry object with the session, TID, context,Session Object and locale. |
|
SessionEntry(java.lang.String type,
java.lang.String aSession,
java.lang.String aTID,
java.io.Serializable aCurrentContext,
java.lang.Object aSessionObject,
java.lang.String ipAddress,
java.lang.Integer port,
javax.servlet.http.HttpSession aHttpSession)
This constructor creates a SessionEntry object with the session, TID, context, Session Object, ipAddress and port. |
Method Summary | |
---|---|
java.io.Serializable |
getCurrentContext()
Gets the current context. |
javax.servlet.http.HttpSession |
getHttpSession()
Gets the HttpSession. |
java.lang.String |
getIpAddress()
Gets the ipAddress. |
java.util.Locale |
getLocale()
Gets the locale. |
java.lang.Integer |
getPort()
Gets the port. |
java.lang.String |
getSessionId()
Gets the sessionId. |
java.lang.Object |
getSessionObject()
Gets the sessionObject. |
java.lang.String |
getTID()
Gets the TID. |
java.lang.String |
getType()
Gets the type. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
remove()
Removes the session. |
void |
retrieve()
load the saved information from httpsession |
void |
setCurrentContext(java.io.Serializable aContext)
Sets the port. |
void |
setCurrentContextForSession(java.lang.String anApplication,
java.io.Serializable aContext)
Sets the port. |
void |
setHttpSession(javax.servlet.http.HttpSession aHttpSession)
Sets the TID. |
void |
setIpAddress(java.lang.String anIpAddress)
Sets the ipAddress. |
void |
setLocale(java.util.Locale localeToSet)
Sets the locale. |
void |
setPort(java.lang.Integer aPort)
Sets the port. |
void |
setSessionId(java.lang.String sessionId)
Gets the sessionId. |
void |
setSessionObject(java.lang.Object aSessionObject)
Sets the session object. |
void |
setTID(java.lang.String aTID)
Sets the TID. |
void |
setType(java.lang.String aType)
Sets the client type. |
void |
store()
Stores the session information to HttpSession Object when persistance is true |
Methods inherited from class com.ibm.btt.base.Hashtable |
---|
clone, clone, clone, keyAtValue, removeAll, toString |
Methods inherited from class java.util.Hashtable |
---|
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SessionEntry()
public SessionEntry(java.lang.String type, java.lang.String aSession, java.lang.String aTID, java.io.Serializable aCurrentContext, javax.servlet.http.HttpSession aHttpSession)
type
- java.lang.StringaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextaHttpSession
- HttpSession - HttpSession Object associated with the sessionEntrypublic SessionEntry(java.lang.String type, java.lang.String aSession, java.lang.String aTID, java.io.Serializable aCurrentContext, java.lang.Object aSessionObject, javax.servlet.http.HttpSession aHttpSession)
type
- java.lang.StringaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextaSessionObject
- ObjectaHttpSession
- HttpSession - HttpSession Object associated with the sessionEntrypublic SessionEntry(java.lang.String type, java.lang.String aSession, java.lang.String aTID, java.io.Serializable aCurrentContext, java.lang.Object aSessionObject, java.util.Locale locale, javax.servlet.http.HttpSession aHttpSession)
type
- java.lang.StringaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextaSessionObject
- Objectlocale
- java.util.LocaleaHttpSession
- HttpSession - HttpSession Object associated with the sessionEntrypublic SessionEntry(java.lang.String type, java.lang.String aSession, java.lang.String aTID, java.io.Serializable aCurrentContext, java.util.Locale locale, javax.servlet.http.HttpSession aHttpSession)
type
- java.lang.StringaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.Contextlocale
- java.util.LocaleaHttpSession
- HttpSession - HttpSession Object associated with the sessionEntrypublic SessionEntry(java.lang.String type, java.lang.String aSession, java.lang.String aTID, java.io.Serializable aCurrentContext, java.lang.Object aSessionObject, java.lang.String ipAddress, java.lang.Integer port, javax.servlet.http.HttpSession aHttpSession)
type
- java.lang.StringaSession
- java.lang.StringaTID
- java.lang.StringaCurrentContext
- com.ibm.dse.base.ContextipAddress
- Stringport
- IntegeraHttpSession
- HttpSession - HttpSession Object associated with the sessionEntryMethod Detail |
public java.io.Serializable getCurrentContext()
public java.util.Locale getLocale()
public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
public java.lang.Object getSessionObject()
public java.lang.String getTID()
public void setTID(java.lang.String aTID)
public javax.servlet.http.HttpSession getHttpSession()
public void setHttpSession(javax.servlet.http.HttpSession aHttpSession)
public java.lang.String getType()
public void remove()
public void setLocale(java.util.Locale localeToSet)
localeToSet
- java.util.Localepublic void setSessionObject(java.lang.Object aSessionObject)
aSessionObject
- Objectpublic void setType(java.lang.String aType)
aType
- Stringpublic java.lang.String getIpAddress()
public void setIpAddress(java.lang.String anIpAddress)
anIpAddress
- Stringpublic java.lang.Integer getPort()
public void setPort(java.lang.Integer aPort)
aPort
- Integerpublic void setCurrentContext(java.io.Serializable aContext)
aContext
- public void setCurrentContextForSession(java.lang.String anApplication, java.io.Serializable aContext)
anApplication
- aContext
- public void store()
public void retrieve()
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |