edu.internet2.middleware.grouper.j2ee
Class GrouperSessionWrapper
java.lang.Object
edu.internet2.middleware.grouper.j2ee.GrouperSessionWrapper
- All Implemented Interfaces:
- HttpSession
public class GrouperSessionWrapper
- extends Object
- implements HttpSession
wrap session so we can customize
GrouperSessionWrapper
public GrouperSessionWrapper(HttpSession httpSession1)
- Parameters:
httpSession1
- session
getAttribute
public Object getAttribute(String attributeName)
- Specified by:
getAttribute
in interface HttpSession
- See Also:
HttpSession.getAttribute(java.lang.String)
getAttributeNames
public Enumeration getAttributeNames()
- Specified by:
getAttributeNames
in interface HttpSession
- See Also:
HttpSession.getAttributeNames()
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface HttpSession
- See Also:
HttpSession.getCreationTime()
getId
public String getId()
- Specified by:
getId
in interface HttpSession
- See Also:
HttpSession.getId()
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime
in interface HttpSession
- See Also:
HttpSession.getLastAccessedTime()
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface HttpSession
- See Also:
HttpSession.getMaxInactiveInterval()
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface HttpSession
- See Also:
HttpSession.getServletContext()
getSessionContext
public HttpSessionContext getSessionContext()
- Specified by:
getSessionContext
in interface HttpSession
- Returns:
- session context
- See Also:
HttpSession
getValue
public Object getValue(String arg0)
- Specified by:
getValue
in interface HttpSession
- Parameters:
arg0
-
- Returns:
- the value
- See Also:
HttpSession
getValueNames
public String[] getValueNames()
- Specified by:
getValueNames
in interface HttpSession
- Returns:
- value names
- See Also:
HttpSession
invalidate
public void invalidate()
- Specified by:
invalidate
in interface HttpSession
- See Also:
HttpSession.invalidate()
isNew
public boolean isNew()
- Specified by:
isNew
in interface HttpSession
- See Also:
HttpSession.isNew()
putValue
public void putValue(String arg0,
Object arg1)
- Specified by:
putValue
in interface HttpSession
- Parameters:
arg0
- arg1
- - See Also:
HttpSession
removeAttribute
public void removeAttribute(String attributeName)
- Specified by:
removeAttribute
in interface HttpSession
- See Also:
HttpSession.removeAttribute(java.lang.String)
removeValue
public void removeValue(String arg0)
- Specified by:
removeValue
in interface HttpSession
- Parameters:
arg0
- - See Also:
HttpSession
setAttribute
public void setAttribute(String attributeName,
Object value)
- Specified by:
setAttribute
in interface HttpSession
- See Also:
HttpSession.setAttribute(java.lang.String, java.lang.Object)
setMaxInactiveInterval
public void setMaxInactiveInterval(int arg0)
- Specified by:
setMaxInactiveInterval
in interface HttpSession
- See Also:
HttpSession.setMaxInactiveInterval(int)
getHttpSession
public HttpSession getHttpSession()
- Returns:
- the session