Class ImmutableHttpSession
java.lang.Object
org.wildfly.clustering.session.container.servlet.AbstractHttpSession
org.wildfly.clustering.session.container.servlet.ImmutableHttpSession
- All Implemented Interfaces:
jakarta.servlet.http.HttpSession
- Direct Known Subclasses:
MutableHttpSession
An immutable
HttpSession facade.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.servlet.http.HttpSession
jakarta.servlet.http.HttpSession.Accessor -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) longgetId()longintjakarta.servlet.ServletContextvoidbooleanisNew()voidremoveAttribute(String name) voidsetAttribute(String name, Object value) voidsetMaxInactiveInterval(int interval) Methods inherited from class AbstractHttpSession
equals, hashCode, toStringMethods inherited from interface jakarta.servlet.http.HttpSession
getAccessor
-
Method Details
-
getServletContext
public jakarta.servlet.ServletContext getServletContext() -
getId
-
getCreationTime
public long getCreationTime() -
getMaxInactiveInterval
public int getMaxInactiveInterval() -
getLastAccessedTime
public long getLastAccessedTime() -
isNew
public boolean isNew() -
getAttributeNames
-
getAttribute
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval) -
setAttribute
-
removeAttribute
-
invalidate
public void invalidate()
-