Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the real HttpSession class?

Tags:

tomcat

I want to know how to implement the HttpSession. When I send a request to the tomcat, it make a HttpSession Instance. I read the javax.servlet.http.HttpSession, it's just a interface, I want know the detail about the implementation of the Session. I want know where can I found the source code from the tomcat src?

like image 381
Oolong Avatar asked May 31 '26 22:05

Oolong


1 Answers

org.apache.catalina.session.StandardSession is Tomcat's

Standard implementation of the Session interface

If you have downloaded Tomcat's source code navigate to the relevant package to find it.

Or read it online

like image 100
binoternary Avatar answered Jun 04 '26 11:06

binoternary



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!