org.apache.jetspeed.engine.servlet
Class HttpSessionWrapper

java.lang.Object
  extended by org.apache.jetspeed.engine.servlet.HttpSessionWrapper
All Implemented Interfaces:
javax.servlet.http.HttpSession
Direct Known Subclasses:
NamespaceEncodedSession

public class HttpSessionWrapper
extends Object
implements javax.servlet.http.HttpSession

Author:
Scott T Weaver

Field Summary
private  javax.servlet.http.HttpSession session
           
 
Constructor Summary
HttpSessionWrapper(javax.servlet.http.HttpSession session)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getAttribute(String arg0)
           
 Enumeration getAttributeNames()
           
 long getCreationTime()
           
 String getId()
           
 long getLastAccessedTime()
           
 int getMaxInactiveInterval()
           
 javax.servlet.ServletContext getServletContext()
           
 javax.servlet.http.HttpSessionContext getSessionContext()
          Deprecated. As of Java(tm) Servlet API 2.1 for security reasons, with no replacement.
 Object getValue(String arg0)
          Deprecated. @see javax.servlet.http.HttpSession#getValue(String)
 String[] getValueNames()
          Deprecated. @see javax.servlet.http.HttpSession#getValueNames(String)
 int hashCode()
           
 void invalidate()
           
 boolean isNew()
           
 void putValue(String arg0, Object arg1)
          Deprecated. @see javax.servlet.http.HttpSession#putValue(String,Object)
 void removeAttribute(String arg0)
           
 void removeValue(String arg0)
          Deprecated. @see javax.servlet.http.HttpSession#removeValue(String)
 void setAttribute(String arg0, Object arg1)
           
 void setMaxInactiveInterval(int arg0)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

session

private javax.servlet.http.HttpSession session
Constructor Detail

HttpSessionWrapper

public HttpSessionWrapper(javax.servlet.http.HttpSession session)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAttribute

public Object getAttribute(String arg0)
Specified by:
getAttribute in interface javax.servlet.http.HttpSession
Parameters:
arg0 -
Returns:

getAttributeNames

public Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface javax.servlet.http.HttpSession
Returns:

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface javax.servlet.http.HttpSession
Returns:

getId

public String getId()
Specified by:
getId in interface javax.servlet.http.HttpSession
Returns:

getLastAccessedTime

public long getLastAccessedTime()
Specified by:
getLastAccessedTime in interface javax.servlet.http.HttpSession
Returns:

getMaxInactiveInterval

public int getMaxInactiveInterval()
Specified by:
getMaxInactiveInterval in interface javax.servlet.http.HttpSession
Returns:

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.servlet.http.HttpSession
Returns:

getSessionContext

public javax.servlet.http.HttpSessionContext getSessionContext()
Deprecated. As of Java(tm) Servlet API 2.1 for security reasons, with no replacement.

Specified by:
getSessionContext in interface javax.servlet.http.HttpSession
Returns:

getValue

public Object getValue(String arg0)
Deprecated. @see javax.servlet.http.HttpSession#getValue(String)

Specified by:
getValue in interface javax.servlet.http.HttpSession
Parameters:
arg0 -
Returns:

getValueNames

public String[] getValueNames()
Deprecated. @see javax.servlet.http.HttpSession#getValueNames(String)

Specified by:
getValueNames in interface javax.servlet.http.HttpSession
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

invalidate

public void invalidate()
Specified by:
invalidate in interface javax.servlet.http.HttpSession

isNew

public boolean isNew()
Specified by:
isNew in interface javax.servlet.http.HttpSession
Returns:

putValue

public void putValue(String arg0,
                     Object arg1)
Deprecated. @see javax.servlet.http.HttpSession#putValue(String,Object)

Specified by:
putValue in interface javax.servlet.http.HttpSession
Parameters:
arg0 -
arg1 -

removeAttribute

public void removeAttribute(String arg0)
Specified by:
removeAttribute in interface javax.servlet.http.HttpSession
Parameters:
arg0 -

removeValue

public void removeValue(String arg0)
Deprecated. @see javax.servlet.http.HttpSession#removeValue(String)

Specified by:
removeValue in interface javax.servlet.http.HttpSession
Parameters:
arg0 -

setAttribute

public void setAttribute(String arg0,
                         Object arg1)
Specified by:
setAttribute in interface javax.servlet.http.HttpSession
Parameters:
arg0 -
arg1 -

setMaxInactiveInterval

public void setMaxInactiveInterval(int arg0)
Specified by:
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
Parameters:
arg0 -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.