Package org.thymeleaf.web.servlet
Class JavaxServletWebSession
java.lang.Object
org.thymeleaf.web.servlet.JavaxServletWebSession
- 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 javax.servlet.http.HttpServletRequest request -
session
private javax.servlet.http.HttpSession session
-
-
Constructor Details
-
JavaxServletWebSession
JavaxServletWebSession(javax.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
-