public class PortletHttpSession
extends java.lang.Object
implements jakarta.servlet.http.HttpSession
Note: all attributes set and get thru this class are in the application scope (PortletSession.APPLICATION_SCOPE).
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Enumeration |
getAttributeNames() |
long |
getCreationTime() |
java.lang.String |
getId() |
static jakarta.servlet.http.HttpSession |
getInstance(javax.portlet.PortletSession sess) |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.portlet.PortletSession |
getPortletSess()
Returns the portlet session being wrapped by this object.
|
jakarta.servlet.ServletContext |
getServletContext() |
jakarta.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated.
|
java.lang.Object |
getValue(java.lang.String name)
Deprecated.
|
java.lang.String[] |
getValueNames()
Deprecated.
|
int |
hashCode() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(java.lang.String name,
java.lang.Object value)
Deprecated.
|
void |
removeAttribute(java.lang.String name) |
void |
removeValue(java.lang.String name)
Deprecated.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setMaxInactiveInterval(int interval) |
public static jakarta.servlet.http.HttpSession getInstance(javax.portlet.PortletSession sess)
public javax.portlet.PortletSession getPortletSess()
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface jakarta.servlet.http.HttpSession
public java.util.Enumeration getAttributeNames()
getAttributeNames
in interface jakarta.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface jakarta.servlet.http.HttpSession
public java.lang.String getId()
getId
in interface jakarta.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface jakarta.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface jakarta.servlet.http.HttpSession
public jakarta.servlet.ServletContext getServletContext()
getServletContext
in interface jakarta.servlet.http.HttpSession
public jakarta.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface jakarta.servlet.http.HttpSession
public java.lang.Object getValue(java.lang.String name)
getValue
in interface jakarta.servlet.http.HttpSession
public java.lang.String[] getValueNames()
getValueNames
in interface jakarta.servlet.http.HttpSession
public void invalidate()
invalidate
in interface jakarta.servlet.http.HttpSession
public boolean isNew()
isNew
in interface jakarta.servlet.http.HttpSession
public void putValue(java.lang.String name, java.lang.Object value)
putValue
in interface jakarta.servlet.http.HttpSession
public void removeAttribute(java.lang.String name)
removeAttribute
in interface jakarta.servlet.http.HttpSession
public void removeValue(java.lang.String name)
removeValue
in interface jakarta.servlet.http.HttpSession
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface jakarta.servlet.http.HttpSession
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface jakarta.servlet.http.HttpSession
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.