net.liftweb.http.LiftSession

class LiftSession

class LiftSession(val _contextPath : String, val uniqueId : String, val httpSession : Box[HTTPSession])

 extends LiftMerge with Loggable


The LiftSession class containg the session state information


Companion: LiftSession

Source: LiftSession.scala(278)

 Constructors

def this(_contextPath : String, uniqueId : String, httpSession : Box[HTTPSession])

 Fields

contextPath.. def contextPath String
ieMode.. object ieMode

 extends SessionVar[Boolean]
liftTagProcessing.. var liftTagProcessing
The partial function that defines how lift tags are processed for this session [details]
Initially composed of LiftRules.liftTagProcessing orElse the default lift tag processing. If you need to change the way a particular session handles lift tags, alter this partial function.
List[PartialFunction]
logger.. protected val logger Logger Loggable
progressListener.. var progressListener
Set your session-specific progress listener for mime uploads pBytesRead - The total number of bytes, which have been read so far [details]
pContentLength - The total number of bytes, which are being read. May be -1, if this number is unknown. pItems - The number of the field, which is currently being read. (0 = no item so far, 1 = first item is being read, ...)
Box[(Long, Long, Int) => Unit]
running_?.. def running_? Boolean

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
addSessionCleanup.. def addSessionCleanup(f : (LiftSession) => Unit)
Adds a cleanup function that will be executed when session is terminated
Unit
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
findAndProcessTemplate.. def findAndProcessTemplate(name : List[String])
Finds a template named name and then runs it throught the Lift processing engine
Box[Elem]
findComet.. def findComet(theType : String, name : Box[String])
Find the comet actor by type and name
Box[LiftCometActor]
findComet.. def findComet(theType : String)
Finds all Comet actors by type
List[LiftCometActor]
fixHtml.. def fixHtml(in : NodeSeq)
Apply HTML specific corrections such as adding the context path etc
NodeSeq
getAsyncComponent.. def getAsyncComponent(id : String)
Finds a Comet actor by ID
Box[LiftCometActor]
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
performHeadMerge.. def performHeadMerge(in : NodeSeq, req : Req)
Merge all the head elements into the main head element and move tail stuff to the end of the page
Node
processSurroundAndInclude.. def processSurroundAndInclude(page : String, in : NodeSeq)
Processes the surround tag and other lift tags
NodeSeq
removeFunction.. def removeFunction(name : String) Unit
runParams.. def runParams(state : Req)
Executes the user's functions based on the query parameters
List[Any]
runTemplate.. def runTemplate(pageName : String, template : NodeSeq)
A nicely named proxy for processSurroundAndInclude [details]
This method processes a Lift template
param
template - -- the template to process using Lift's templating engine
pageName - -- the name of the page being processed (for error reporting)
NodeSeq
setupComet.. def setupComet(theType : String, name : Box[String], msg : Any)
Allows you to send messages to a CometActor that may or may not be set up yet
Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
terminateHint.. def terminateHint Unit
toString.. def toString String AnyRef
updateFunctionMap.. def updateFunctionMap(funcs : Map[String, AFuncHolder], uniqueId : String, when : Long)
Updates the internal functions mapping
Unit
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.