com.caucho.portal.generic
Class HttpPortletSession
java.lang.Object
com.caucho.portal.generic.HttpPortletSession
public class HttpPortletSession
- extends java.lang.Object
An adapter to a javax.servlet.HttpSession.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
PORTLET_SCOPE_PREFIX
public final java.lang.String PORTLET_SCOPE_PREFIX
- See Also:
- Constant Field Values
PORTLET_SCOPE_RESERVED_PREFIX
public final java.lang.String PORTLET_SCOPE_RESERVED_PREFIX
- See Also:
- Constant Field Values
HttpPortletSession
public HttpPortletSession()
start
public void start(PortletContext portletContext,
HttpSession httpSession)
finish
public void finish()
- Finish with the HttpSession object. After calling this method,
this object can be placed into a pool and reused for subsequent requests.
getPortletContext
public PortletContext getPortletContext()
getHttpSession
public HttpSession getHttpSession()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
getAttributeNames
public java.util.Enumeration getAttributeNames()
getAttributeNames
public java.util.Enumeration getAttributeNames(int scope)
getCreationTime
public long getCreationTime()
getId
public java.lang.String getId()
getLastAccessedTime
public long getLastAccessedTime()
getMaxInactiveInterval
public int getMaxInactiveInterval()
invalidate
public void invalidate()
isNew
public boolean isNew()
removeAttribute
public void removeAttribute(java.lang.String name)
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)