org.mobicents.servlet.sip.core.session
Class ConvergedSession

java.lang.Object
  extended by org.apache.catalina.session.StandardSession
      extended by org.mobicents.servlet.sip.core.session.ConvergedSession
All Implemented Interfaces:
java.io.Serializable, javax.servlet.http.HttpSession, ConvergedHttpSession, org.apache.catalina.Session

public class ConvergedSession
extends org.apache.catalina.session.StandardSession
implements ConvergedHttpSession

Extension of the Tomcat StandardSession class so that applications are able to cast session to javax.servlet.sip.ConvergedHttpSession interface.

Author:
Jean Deruelle
See Also:
Serialized Form

Field Summary
protected  ConvergedSessionFacade facade
          The facade associated with this session.
 
Fields inherited from class org.apache.catalina.session.StandardSession
accessCount, ACTIVITY_CHECK, attributes, authType, containerEventMethod, containerEventTypes, creationTime, EMPTY_ARRAY, excludedAttributes, expiring, id, info, isNew, isValid, lastAccessedTime, listeners, manager, maxInactiveInterval, NOT_SERIALIZED, notes, principal, sessionContext, sm, support, thisAccessedTime
 
Fields inherited from interface org.apache.catalina.Session
SESSION_ACTIVATED_EVENT, SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT, SESSION_PASSIVATED_EVENT
 
Constructor Summary
ConvergedSession(SipManager manager, SipNetworkInterfaceManager sipNetworkInterfaceManager)
           
 
Method Summary
 java.lang.String encodeURL(java.lang.String url)
           
 java.lang.String encodeURL(java.lang.String relativePath, java.lang.String scheme)
           
 SipApplicationSession getApplicationSession()
           
 javax.servlet.http.HttpSession getSession()
           
 
Methods inherited from class org.apache.catalina.session.StandardSession
access, activate, addSessionListener, endAccess, exclude, expire, expire, fireContainerEvent, fireSessionEvent, getAttribute, getAttributeNames, getAuthType, getCreationTime, getId, getIdInternal, getInfo, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, isValid, isValidInternal, keys, passivate, putValue, readObject, readObjectData, recycle, removeAttribute, removeAttribute, removeAttributeInternal, removeNote, removeSessionListener, removeValue, setAttribute, setAttribute, setAuthType, setCreationTime, setId, setManager, setMaxInactiveInterval, setNew, setNote, setPrincipal, setValid, tellNew, toString, writeObject, writeObjectData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.servlet.http.HttpSession
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval
 

Field Detail

facade

protected transient ConvergedSessionFacade facade
The facade associated with this session. NOTE: This value is not included in the serialized version of this object.

Constructor Detail

ConvergedSession

public ConvergedSession(SipManager manager,
                        SipNetworkInterfaceManager sipNetworkInterfaceManager)
Parameters:
sessionManager -
Method Detail

getSession

public javax.servlet.http.HttpSession getSession()
Specified by:
getSession in interface org.apache.catalina.Session
Overrides:
getSession in class org.apache.catalina.session.StandardSession

encodeURL

public java.lang.String encodeURL(java.lang.String url)
Specified by:
encodeURL in interface ConvergedHttpSession

encodeURL

public java.lang.String encodeURL(java.lang.String relativePath,
                                  java.lang.String scheme)
Specified by:
encodeURL in interface ConvergedHttpSession

getApplicationSession

public SipApplicationSession getApplicationSession()
Specified by:
getApplicationSession in interface ConvergedHttpSession


Copyright © 2008. All Rights Reserved.