public class PortletHttpSession extends 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(Object o) |
Object |
getAttribute(String name) |
Enumeration |
getAttributeNames() |
long |
getCreationTime() |
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.
|
Object |
getValue(String name)
Deprecated.
|
String[] |
getValueNames()
Deprecated.
|
int |
hashCode() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String name,
Object value)
Deprecated.
|
void |
removeAttribute(String name) |
void |
removeValue(String name)
Deprecated.
|
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public static jakarta.servlet.http.HttpSession getInstance(javax.portlet.PortletSession sess)
public javax.portlet.PortletSession getPortletSess()
public Object getAttribute(String name)
getAttribute in interface jakarta.servlet.http.HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface jakarta.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime in interface jakarta.servlet.http.HttpSessionpublic String getId()
getId in interface jakarta.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface jakarta.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.ServletContext getServletContext()
getServletContext in interface jakarta.servlet.http.HttpSessionpublic jakarta.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface jakarta.servlet.http.HttpSessionpublic Object getValue(String name)
getValue in interface jakarta.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface jakarta.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface jakarta.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface jakarta.servlet.http.HttpSessionpublic void putValue(String name, Object value)
putValue in interface jakarta.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface jakarta.servlet.http.HttpSessionpublic void removeValue(String name)
removeValue in interface jakarta.servlet.http.HttpSessionpublic void setAttribute(String name, Object value)
setAttribute in interface jakarta.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface jakarta.servlet.http.HttpSessionCopyright © 2024. All rights reserved.