session property

HttpSession get session

The session for the given request.

If the session is being initialized by this call, HttpSession.isNew is true for the returned session. See HttpServer.sessionTimeout on how to change default timeout.

Implementation

HttpSession get session;