
org.scalatra.servlet.ServletSession.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalatra_2.9.0-1 Show documentation
Show all versions of scalatra_2.9.0-1 Show documentation
The core Scalatra framework
The newest version!
package org.scalatra
package servlet
import javax.servlet.http.HttpSession
object ServletSession {
def apply(session: HttpSession) = new ServletSession(session)
}
/**
* Extension methods to the standard HttpSession.
*/
class ServletSession(session: HttpSession)
extends SessionWrapper(session)
with Session
with AttributesMap
{
def id = session.getId
protected def attributes = session
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy