Class

skinny.micro.request

MostlyStableHttpSession

Related Doc: package request

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MostlyStableHttpSession(request: HttpServletRequest)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  21. def isNew(): Boolean

    Permalink
    Definition Classes
    MostlyStableHttpSession → HttpSession
  22. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  23. def loggerName: String

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

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

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

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

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

    Permalink
    Definition Classes
    MostlyStableHttpSession → HttpSession
  30. val request: HttpServletRequest

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. final def wait(): Unit

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

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

    Permalink
    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