case classMostlyStableHttpSession(request: HttpServletRequest) extends HttpSession with LoggerProvider with Product with Serializable
Mostly stable Servlet HttpSession implementation.
Since this implementation never throws exception even when Servlet containers have recycled request/session objects,
it works mostly as we expected within Future operations.
This implementation doesn't completely guarantee attributes' consistency in the session
because #setAttribute after objects recycle cannot save the value in memory managed by Servlet containers.
If you expect read-only stable session in Future threads, this implementation works fine as you expected.
Linear Supertypes
Serializable, Serializable, Product, Equals, LoggerProvider, HttpSession, AnyRef, Any
Mostly stable Servlet HttpSession implementation.
Since this implementation never throws exception even when Servlet containers have recycled request/session objects, it works mostly as we expected within Future operations.
This implementation doesn't completely guarantee attributes' consistency in the session because #setAttribute after objects recycle cannot save the value in memory managed by Servlet containers.
If you expect read-only stable session in Future threads, this implementation works fine as you expected.