Package org.thymeleaf.web.servlet
Class JakartaServletWebSession
java.lang.Object
org.thymeleaf.web.servlet.JakartaServletWebSession
- All Implemented Interfaces:
IWebSession,IServletWebSession
- Since:
- 3.1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()getAttributeValue(String name) voidsetAttributeValue(String name, Object value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.web.servlet.IServletWebSession
containsAttribute, getAllAttributeNames, getAttributeCount, getAttributeMap, removeAttribute
-
Field Details
-
request
private final jakarta.servlet.http.HttpServletRequest request -
session
private jakarta.servlet.http.HttpSession session
-
-
Constructor Details
-
JakartaServletWebSession
JakartaServletWebSession(jakarta.servlet.http.HttpServletRequest request)
-
-
Method Details
-
exists
public boolean exists()- Specified by:
existsin interfaceIWebSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceIServletWebSession
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceIWebSession
-
setAttributeValue
- Specified by:
setAttributeValuein interfaceIWebSession
-
getNativeSessionObject
- Specified by:
getNativeSessionObjectin interfaceIServletWebSession
-