Object

net.liftweb.http

SessionMaster

Related Doc: package http

Permalink

object SessionMaster extends LiftActor with Loggable

Manages LiftSessions because the servlet container is less than optimal at timing sessions out.

Linear Supertypes
Loggable, LiftActor, ForwardableActor[Any, Any], GenericActor[Any], TypedActor[Any, Any], SpecializedLiftActor[Any], SimpleActor[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionMaster
  2. Loggable
  3. LiftActor
  4. ForwardableActor
  5. GenericActor
  6. TypedActor
  7. SpecializedLiftActor
  8. SimpleActor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def !(msg: Any): Unit

    Permalink
    Definition Classes
    SpecializedLiftActor → SimpleActor
  2. def !!(msg: Any): Box[Any]

    Permalink
    Definition Classes
    LiftActor → TypedActor
  3. def !!(msg: Any, timeout: Long): Box[Any]

    Permalink
    Definition Classes
    LiftActor → TypedActor
  4. def !<(msg: Any): LAFuture[Any]

    Permalink
    Definition Classes
    LiftActor
  5. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def !?(timeout: Long, message: Any): Box[Any]

    Permalink
    Definition Classes
    LiftActor → TypedActor
  7. def !?(msg: Any): Any

    Permalink
    Definition Classes
    LiftActor → TypedActor
  8. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def addSession(liftSession: LiftSession, req: Req, userAgent: Box[String], ipAddress: Box[String]): Unit

    Permalink

    Adds a new session to SessionMaster

  11. def around[R](f: ⇒ R): R

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  12. def aroundLoans: List[CommonLoanWrapper]

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def breakOutAllComet(): Unit

    Permalink

    End comet long polling for all sessions.

    End comet long polling for all sessions. This allows a clean reload of Nginx because Nginx children stick around for long polling.

  15. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def exceptionHandler: PartialFunction[Throwable, Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  19. def execTranslate(f: (Any) ⇒ Unit)(v: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActor → SpecializedLiftActor
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActor → ForwardableActor
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. var getIpFromReq: (Req) ⇒ Box[String]

    Permalink

    If you have a rule other than

    Box !! req.request.remoteAddress
    
    for calculating the remote address, change this function

    If you have a rule other than

    Box !! req.request.remoteAddress
    
    for calculating the remote address, change this function

  24. def getSession(req: HTTPRequest, otherId: Box[String]): Box[LiftSession]

    Permalink

    Returns a LiftSession or Empty if not found

  25. def getSession(httpSession: ⇒ HTTPSession, otherId: Box[String]): Box[LiftSession]

    Permalink

    Returns a LiftSession or Empty if not found

  26. def getSession(id: String, otherId: Box[String]): Box[LiftSession]

    Permalink
  27. def getSession(req: Req, otherId: Box[String]): Box[LiftSession]

    Permalink
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def highPriorityReceive: Box[PartialFunction[Any, Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  30. def insertMsgAtHeadOfQueue_!(msg: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  31. def isDead(sessionId: String): Boolean

    Permalink
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Loggable
  34. def messageHandler: PartialFunction[Any, Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    SessionMaster → SpecializedLiftActor
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  38. def reply(v: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActor → ForwardableActor
  39. def send(msg: Any): Unit

    Permalink
    Definition Classes
    SpecializedLiftActor
  40. def sendAndGetFuture(msg: Any): LAFuture[Any]

    Permalink
    Definition Classes
    LiftActor
  41. def sendAndGetReply(timeout: Long, msg: Any): Any

    Permalink
    Definition Classes
    LiftActor
  42. def sendAndGetReply(msg: Any): Any

    Permalink
    Definition Classes
    LiftActor
  43. var sessionCheckFuncs: List[(Map[String, SessionInfo], (SessionInfo) ⇒ Unit) ⇒ Unit]

    Permalink

    A list of functions that are run every 10 seconds.

    A list of functions that are run every 10 seconds. The first param is map containing the session ID and the sessions. The second param is a function to call to destroy the session.

  44. var sessionWatchers: List[LiftActor]

    Permalink

    Put an Actor in this list and the Actor will receive a message every 10 seconds with the current list of sessions: SessionWatcherInfo

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def testTranslate(f: (Any) ⇒ Boolean)(v: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LiftActor → SpecializedLiftActor
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loggable

Inherited from LiftActor

Inherited from ForwardableActor[Any, Any]

Inherited from GenericActor[Any]

Inherited from TypedActor[Any, Any]

Inherited from SpecializedLiftActor[Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped