Class SharedSession
Object
com.liferay.portal.kernel.servlet.SharedSession
- All Implemented Interfaces:
jakarta.servlet.http.HttpSession
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
ConstructorsConstructorDescriptionSharedSession(jakarta.servlet.http.HttpSession portalHttpSession, jakarta.servlet.http.HttpSession portletHttpSession) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetAttribute(String name) longgetId()longintjakarta.servlet.ServletContextDeprecated.As of Paton (6.1.x)protected jakarta.servlet.http.HttpSessionprotected jakarta.servlet.http.HttpSessiongetSessionDelegate(String name) Deprecated.As of Wilberforce (7.0.x)String[]Deprecated.As of Wilberforce (7.0.x)voidbooleanisNew()voidDeprecated.As of Wilberforce (7.0.x)voidremoveAttribute(String name) voidremoveValue(String name) Deprecated.As of Wilberforce (7.0.x)voidsetAttribute(String name, Object value) voidsetMaxInactiveInterval(int maxInactiveInterval)
-
Constructor Details
-
SharedSession
public SharedSession(jakarta.servlet.http.HttpSession portalHttpSession, jakarta.servlet.http.HttpSession portletHttpSession)
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfacejakarta.servlet.http.HttpSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejakarta.servlet.http.HttpSession
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTimein interfacejakarta.servlet.http.HttpSession
-
getId
- Specified by:
getIdin interfacejakarta.servlet.http.HttpSession
-
getLastAccessedTime
public long getLastAccessedTime()- Specified by:
getLastAccessedTimein interfacejakarta.servlet.http.HttpSession
-
getMaxInactiveInterval
public int getMaxInactiveInterval()- Specified by:
getMaxInactiveIntervalin interfacejakarta.servlet.http.HttpSession
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()- Specified by:
getServletContextin interfacejakarta.servlet.http.HttpSession
-
getSessionContext
Deprecated.As of Paton (6.1.x) -
getValue
Deprecated.As of Wilberforce (7.0.x) -
getValueNames
Deprecated.As of Wilberforce (7.0.x) -
invalidate
public void invalidate()- Specified by:
invalidatein interfacejakarta.servlet.http.HttpSession
-
isNew
public boolean isNew()- Specified by:
isNewin interfacejakarta.servlet.http.HttpSession
-
putValue
Deprecated.As of Wilberforce (7.0.x) -
removeAttribute
- Specified by:
removeAttributein interfacejakarta.servlet.http.HttpSession
-
removeValue
Deprecated.As of Wilberforce (7.0.x) -
setAttribute
- Specified by:
setAttributein interfacejakarta.servlet.http.HttpSession
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int maxInactiveInterval) - Specified by:
setMaxInactiveIntervalin interfacejakarta.servlet.http.HttpSession
-
getSessionDelegate
protected jakarta.servlet.http.HttpSession getSessionDelegate() -
getSessionDelegate
-