skinny.micro.request

MostlyStableHttpSession

case class MostlyStableHttpSession(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
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MostlyStableHttpSession
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LoggerProvider
  7. HttpSession
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MostlyStableHttpSession(request: HttpServletRequest)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAttribute(name: String): AnyRef

    Definition Classes
    MostlyStableHttpSession → HttpSession
  11. def getAttributeNames(): Enumeration[String]

    Definition Classes
    MostlyStableHttpSession → HttpSession
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getCreationTime(): Long

    Definition Classes
    MostlyStableHttpSession → HttpSession
  14. def getId(): String

    Definition Classes
    MostlyStableHttpSession → HttpSession
  15. def getLastAccessedTime(): Long

    Definition Classes
    MostlyStableHttpSession → HttpSession
  16. def getMaxInactiveInterval(): Int

    Definition Classes
    MostlyStableHttpSession → HttpSession
  17. def getServletContext(): ServletContext

    Definition Classes
    MostlyStableHttpSession → HttpSession
  18. def getSessionContext(): HttpSessionContext

    Definition Classes
    MostlyStableHttpSession → HttpSession
  19. def getValue(name: String): AnyRef

    Definition Classes
    MostlyStableHttpSession → HttpSession
  20. def getValueNames(): Array[String]

    Definition Classes
    MostlyStableHttpSession → HttpSession
  21. def invalidate(): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isNew(): Boolean

    Definition Classes
    MostlyStableHttpSession → HttpSession
  24. def logger: Logger

    Attributes
    protected
    Definition Classes
    LoggerProvider
  25. def loggerName: String

    Attributes
    protected
    Definition Classes
    LoggerProvider
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def putValue(name: String, value: Any): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  30. def removeAttribute(name: String): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  31. def removeValue(name: String): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  32. val request: HttpServletRequest

  33. def setAttribute(name: String, value: Any): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  34. def setMaxInactiveInterval(interval: Int): Unit

    Definition Classes
    MostlyStableHttpSession → HttpSession
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LoggerProvider

Inherited from HttpSession

Inherited from AnyRef

Inherited from Any

Ungrouped