Class HttpSessionWrapper
Object
com.liferay.portal.kernel.servlet.HttpSessionWrapper
- All Implemented Interfaces:
jakarta.servlet.http.HttpSession
- Direct Known Subclasses:
CompoundSessionIdHttpSession
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttribute(String name) longgetId()longintjakarta.servlet.ServletContextDeprecated.As of Bunyan (6.0.x)Deprecated.As of Bunyan (6.0.x)String[]Deprecated.As of Bunyan (6.0.x)jakarta.servlet.http.HttpSessioninthashCode()voidbooleanisNew()voidDeprecated.As of Bunyan (6.0.x)voidremoveAttribute(String name) voidremoveValue(String name) Deprecated.As of Bunyan (6.0.x)voidsetAttribute(String name, Object value) voidsetMaxInactiveInterval(int interval)
-
Constructor Details
-
HttpSessionWrapper
public HttpSessionWrapper(jakarta.servlet.http.HttpSession httpSession)
-
-
Method Details
-
equals
-
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 Bunyan (6.0.x) -
getValue
Deprecated.As of Bunyan (6.0.x) -
getValueNames
Deprecated.As of Bunyan (6.0.x) -
getWrappedSession
public jakarta.servlet.http.HttpSession getWrappedSession() -
hashCode
public int hashCode() -
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 Bunyan (6.0.x) -
removeAttribute
- Specified by:
removeAttributein interfacejakarta.servlet.http.HttpSession
-
removeValue
Deprecated.As of Bunyan (6.0.x) -
setAttribute
- Specified by:
setAttributein interfacejakarta.servlet.http.HttpSession
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval) - Specified by:
setMaxInactiveIntervalin interfacejakarta.servlet.http.HttpSession
-