public class PortletServletSession extends InprocServletSession
Modifier and Type | Field and Description |
---|---|
protected javax.portlet.PortletSession |
m_portletSession |
m_attributes, m_creationTime, m_id, m_servletContext
Constructor and Description |
---|
PortletServletSession() |
PortletServletSession(javax.portlet.PortletSession session) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.portlet.PortletSession |
getPortletSession() |
ServletContext |
getServletContext() |
void |
invalidate() |
boolean |
isNew() |
void |
release() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int ms) |
void |
setPortletSession(javax.portlet.PortletSession portletSession) |
getAttributes, getSessionContext, getValue, getValueNames, putValue, removeValue, setAttributes, setId, setServletContext
public PortletServletSession()
public PortletServletSession(javax.portlet.PortletSession session)
public void release()
release
in class InprocServletSession
public Object getAttribute(String name)
getAttribute
in interface HttpSession
getAttribute
in class InprocServletSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface HttpSession
getAttributeNames
in class InprocServletSession
public long getCreationTime()
getCreationTime
in interface HttpSession
getCreationTime
in class InprocServletSession
public String getId()
getId
in interface HttpSession
getId
in class InprocServletSession
public long getLastAccessedTime()
getLastAccessedTime
in interface HttpSession
getLastAccessedTime
in class InprocServletSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface HttpSession
getMaxInactiveInterval
in class InprocServletSession
public ServletContext getServletContext()
getServletContext
in interface HttpSession
getServletContext
in class InprocServletSession
public void invalidate()
invalidate
in interface HttpSession
invalidate
in class InprocServletSession
public boolean isNew()
isNew
in interface HttpSession
isNew
in class InprocServletSession
public void removeAttribute(String name)
removeAttribute
in interface HttpSession
removeAttribute
in class InprocServletSession
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
setAttribute
in class InprocServletSession
public void setMaxInactiveInterval(int ms)
setMaxInactiveInterval
in interface HttpSession
setMaxInactiveInterval
in class InprocServletSession
public javax.portlet.PortletSession getPortletSession()
public void setPortletSession(javax.portlet.PortletSession portletSession)