org.apache.pluto.core.impl
Class PortletSessionImpl
java.lang.Object
org.apache.pluto.core.impl.PortletSessionImpl
- All Implemented Interfaces:
- javax.portlet.PortletSession, javax.servlet.http.HttpSession
public class PortletSessionImpl
- extends java.lang.Object
- implements javax.portlet.PortletSession, javax.servlet.http.HttpSession
Fields inherited from interface javax.portlet.PortletSession |
APPLICATION_SCOPE, PORTLET_SCOPE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletSessionImpl
public PortletSessionImpl(PortletWindow portletWindow,
javax.servlet.http.HttpSession httpSession)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface javax.portlet.PortletSession
- Specified by:
getAttribute
in interface javax.servlet.http.HttpSession
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Specified by:
getAttributeNames
in interface javax.portlet.PortletSession
- Specified by:
getAttributeNames
in interface javax.servlet.http.HttpSession
getCreationTime
public long getCreationTime()
throws java.lang.IllegalStateException
- Specified by:
getCreationTime
in interface javax.portlet.PortletSession
- Specified by:
getCreationTime
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getId
public java.lang.String getId()
throws java.lang.IllegalStateException
- Specified by:
getId
in interface javax.portlet.PortletSession
- Specified by:
getId
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getLastAccessedTime
public long getLastAccessedTime()
throws java.lang.IllegalStateException
- Specified by:
getLastAccessedTime
in interface javax.portlet.PortletSession
- Specified by:
getLastAccessedTime
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface javax.portlet.PortletSession
- Specified by:
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
invalidate
public void invalidate()
throws java.lang.IllegalStateException
- Specified by:
invalidate
in interface javax.portlet.PortletSession
- Specified by:
invalidate
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
isNew
public boolean isNew()
throws java.lang.IllegalStateException
- Specified by:
isNew
in interface javax.portlet.PortletSession
- Specified by:
isNew
in interface javax.servlet.http.HttpSession
- Throws:
java.lang.IllegalStateException
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interface javax.portlet.PortletSession
- Specified by:
removeAttribute
in interface javax.servlet.http.HttpSession
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in interface javax.portlet.PortletSession
- Specified by:
setAttribute
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval
in interface javax.portlet.PortletSession
- Specified by:
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
throws java.lang.IllegalStateException
- Specified by:
getAttribute
in interface javax.portlet.PortletSession
- Throws:
java.lang.IllegalStateException
getAttributeNames
public java.util.Enumeration getAttributeNames(int scope)
- Specified by:
getAttributeNames
in interface javax.portlet.PortletSession
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
throws java.lang.IllegalStateException
- Specified by:
removeAttribute
in interface javax.portlet.PortletSession
- Throws:
java.lang.IllegalStateException
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
throws java.lang.IllegalStateException
- Specified by:
setAttribute
in interface javax.portlet.PortletSession
- Throws:
java.lang.IllegalStateException
getPortletContext
public javax.portlet.PortletContext getPortletContext()
- Specified by:
getPortletContext
in interface javax.portlet.PortletSession
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext
in interface javax.servlet.http.HttpSession
getSessionContext
public javax.servlet.http.HttpSessionContext getSessionContext()
- Deprecated. As of Java(tm) Servlet API 2.1 for security reasons,
with no replacement. This interface will be removed
in a future version of this API.
- Specified by:
getSessionContext
in interface javax.servlet.http.HttpSession
getValue
public java.lang.Object getValue(java.lang.String name)
- Specified by:
getValue
in interface javax.servlet.http.HttpSession
getValueNames
public java.lang.String[] getValueNames()
- Specified by:
getValueNames
in interface javax.servlet.http.HttpSession
putValue
public void putValue(java.lang.String name,
java.lang.Object value)
- Specified by:
putValue
in interface javax.servlet.http.HttpSession
removeValue
public void removeValue(java.lang.String name)
- Specified by:
removeValue
in interface javax.servlet.http.HttpSession
Copyright © 2003-2011 . All Rights Reserved.