org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.helpers
Class HttpSessionWrapper

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.helpers.HttpSessionWrapper
All Implemented Interfaces:
javax.servlet.http.HttpSession

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

Author:
Mestrallet Benjamin benjmestrallet@users.sourceforge.net

Constructor Summary
HttpSessionWrapper(javax.servlet.http.HttpSession session)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Overridden method.
 java.util.Enumeration getAttributeNames()
          Overridden method.
 long getCreationTime()
          Overridden method.
 java.lang.String getId()
          Overridden method.
 long getLastAccessedTime()
          Overridden method.
 int getMaxInactiveInterval()
          Overridden method.
 javax.servlet.ServletContext getServletContext()
          Overridden method.
 javax.servlet.http.HttpSession getSession()
           
 javax.servlet.http.HttpSessionContext getSessionContext()
          Overridden method.
 java.lang.Object getValue(java.lang.String name)
          Overridden method.
 java.lang.String[] getValueNames()
          Overridden method.
 void invalidate()
          Overridden method.
 boolean isNew()
          Overridden method.
 void putValue(java.lang.String name, java.lang.Object value)
          Overridden method.
 void removeAttribute(java.lang.String name)
          Overridden method.
 void removeValue(java.lang.String name)
          Overridden method.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Overridden method.
 void setMaxInactiveInterval(int max)
          Overridden method.
 void setSession(javax.servlet.http.HttpSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionWrapper

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

getCreationTime

public final long getCreationTime()
Overridden method.

Specified by:
getCreationTime in interface javax.servlet.http.HttpSession
Returns:
creation time
See Also:
HttpSession.getCreationTime()

getId

public final java.lang.String getId()
Overridden method.

Specified by:
getId in interface javax.servlet.http.HttpSession
Returns:
session id
See Also:
HttpSession.getId()

getLastAccessedTime

public final long getLastAccessedTime()
Overridden method.

Specified by:
getLastAccessedTime in interface javax.servlet.http.HttpSession
Returns:
last access time
See Also:
HttpSession.getLastAccessedTime()

getServletContext

public final javax.servlet.ServletContext getServletContext()
Overridden method.

Specified by:
getServletContext in interface javax.servlet.http.HttpSession
Returns:
servlet context
See Also:
HttpSession.getServletContext()

setMaxInactiveInterval

public final void setMaxInactiveInterval(int max)
Overridden method.

Specified by:
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
Parameters:
max - max inactive interval
See Also:
HttpSession.setMaxInactiveInterval(int)

getMaxInactiveInterval

public final int getMaxInactiveInterval()
Overridden method.

Specified by:
getMaxInactiveInterval in interface javax.servlet.http.HttpSession
Returns:
max inactive interval
See Also:
HttpSession.getMaxInactiveInterval()

getSessionContext

public final javax.servlet.http.HttpSessionContext getSessionContext()
Overridden method.

Specified by:
getSessionContext in interface javax.servlet.http.HttpSession
Returns:
session context
See Also:
HttpSession.getSessionContext()

getAttribute

public final java.lang.Object getAttribute(java.lang.String name)
Overridden method.

Specified by:
getAttribute in interface javax.servlet.http.HttpSession
Parameters:
name - name
Returns:
value
See Also:
HttpSession.getAttribute(java.lang.String)

getValue

public final java.lang.Object getValue(java.lang.String name)
Overridden method.

Specified by:
getValue in interface javax.servlet.http.HttpSession
Parameters:
name - name
Returns:
value
See Also:
HttpSession.getValue(java.lang.String)

getAttributeNames

public final java.util.Enumeration getAttributeNames()
Overridden method.

Specified by:
getAttributeNames in interface javax.servlet.http.HttpSession
Returns:
attribute names
See Also:
HttpSession.getAttributeNames()

getValueNames

public final java.lang.String[] getValueNames()
Overridden method.

Specified by:
getValueNames in interface javax.servlet.http.HttpSession
Returns:
value names
See Also:
HttpSession.getValueNames()

setAttribute

public final void setAttribute(java.lang.String name,
                               java.lang.Object value)
Overridden method.

Specified by:
setAttribute in interface javax.servlet.http.HttpSession
Parameters:
name -
value -
See Also:
HttpSession.setAttribute(java.lang.String, java.lang.Object)

putValue

public final void putValue(java.lang.String name,
                           java.lang.Object value)
Overridden method.

Specified by:
putValue in interface javax.servlet.http.HttpSession
Parameters:
name - name
value - value
See Also:
HttpSession.putValue(java.lang.String, java.lang.Object)

removeAttribute

public final void removeAttribute(java.lang.String name)
Overridden method.

Specified by:
removeAttribute in interface javax.servlet.http.HttpSession
Parameters:
name -
See Also:
HttpSession.removeAttribute(java.lang.String)

removeValue

public final void removeValue(java.lang.String name)
Overridden method.

Specified by:
removeValue in interface javax.servlet.http.HttpSession
Parameters:
name -
See Also:
HttpSession.removeValue(java.lang.String)

invalidate

public final void invalidate()
Overridden method.

Specified by:
invalidate in interface javax.servlet.http.HttpSession
See Also:
HttpSession.invalidate()

isNew

public final boolean isNew()
Overridden method.

Specified by:
isNew in interface javax.servlet.http.HttpSession
Returns:
is session new
See Also:
HttpSession.isNew()

getSession

public final javax.servlet.http.HttpSession getSession()
Returns:
session

setSession

public final void setSession(javax.servlet.http.HttpSession session)
Parameters:
session - session


Copyright © 2012 eXo Platform SAS. All Rights Reserved.