Class

net.liftweb.http

SnapshotRequestVar

Related Doc: package http

Permalink

abstract class SnapshotRequestVar[T] extends RequestVar[T]

This subclass of RequestVars that allow the specification of a RequestVarSnapshotGroup. You can create a snapshot of all the members of this group in RequestVar.snapshot

Linear Supertypes
RequestVar[T], HasLogUnreadVal, AnyVar[T, RequestVar[T]], AnyVarTrait[T, RequestVar[T]], HasCalcDefaultValue[T], PSettableValueHolder[T], SettableValueHolder, Settable, PValueHolder[T], ValueHolder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnapshotRequestVar
  2. RequestVar
  3. HasLogUnreadVal
  4. AnyVar
  5. AnyVarTrait
  6. HasCalcDefaultValue
  7. PSettableValueHolder
  8. SettableValueHolder
  9. Settable
  10. PValueHolder
  11. ValueHolder
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnapshotRequestVar(group: RequestVarSnapshotGroup, d: ⇒ T)

    Permalink

Type Members

  1. type CleanUpParam = Box[LiftSession]

    Permalink
    Definition Classes
    RequestVar → AnyVarTrait
  2. type FuncType = (Box[T], Boolean) ⇒ Unit

    Permalink
    Definition Classes
    AnyVarTrait
  3. type ValueType = T

    Permalink
    Definition Classes
    PValueHolder → ValueHolder

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. def __nameSalt: String

    Permalink
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  5. def apply(what: T): T

    Permalink
    Definition Classes
    AnyVarTrait
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Permalink
    Definition Classes
    Settable
  8. def calcDefaultValue: T

    Permalink
    Attributes
    protected
    Definition Classes
    AnyVar → AnyVarTrait → HasCalcDefaultValue
  9. def clearFunc(name: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def doSync[F](f: ⇒ F): F

    Permalink

    Different Vars require different mechanisms for synchronization.

    Different Vars require different mechanisms for synchronization. This method implements the Var specific synchronization mechanism

    Definition Classes
    RequestVar → AnyVarTrait
  12. def doWith[F](newVal: T)(f: ⇒ F): F

    Permalink
    Definition Classes
    AnyVarTrait
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findFunc(name: String): Box[T]

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait
  17. final def generateSnapshotRestorer[T](): (() ⇒ T) ⇒ T

    Permalink

    Generate a function that will take a snapshot of the current RequestVars such that they can be restored

    Generate a function that will take a snapshot of the current RequestVars such that they can be restored

    Definition Classes
    RequestVar
  18. def get: T

    Permalink
    Definition Classes
    AnyVarTrait → ValueHolder
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. val group: RequestVarSnapshotGroup

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def is: T

    Permalink
    Definition Classes
    AnyVarTrait
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def logUnreadVal: Boolean

    Permalink

    This defines whether or not Lift will log when a RequestVar is set but then not read within the same request cycle.

    This defines whether or not Lift will log when a RequestVar is set but then not read within the same request cycle. Change this to false to turn off logging. Logging can also be turned off globally via LiftRules.logUnreadRequestVars.

    Definition Classes
    RequestVar → HasLogUnreadVal
    See also

    LiftRules#logUnreadRequestVars

  25. lazy val name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def onChange(f: FuncType): Unit

    Permalink
    Definition Classes
    AnyVarTrait
  30. def onShutdown(session: CleanUpParam): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  31. def performAtomicOperation[T](f: ⇒ T): T

    Permalink
    Definition Classes
    Settable
  32. def registerCleanupFunc(in: (Box[LiftSession]) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait
  33. final def registerGlobalCleanupFunc(in: (CleanUpParam) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  34. def remove(): Unit

    Permalink
    Definition Classes
    AnyVarTrait
  35. def set(what: T): T

    Permalink
    Definition Classes
    AnyVarTrait → Settable
  36. def setFunc(name: String, value: T): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait
  37. def setIfUnset(value: ⇒ T): T

    Permalink
    Definition Classes
    AnyVarTrait
  38. def set_?: Boolean

    Permalink
    Definition Classes
    AnyVarTrait
  39. def settingDefault_?: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  40. def snapshot(): () ⇒ Unit

    Permalink

    Return a function that, when applied, will set the value of the RequestVar to its current value

    Return a function that, when applied, will set the value of the RequestVar to its current value

    Definition Classes
    RequestVar
  41. def snapshotGroup: Box[RequestVarSnapshotGroup]

    Permalink

    The Snapshot group this requestvar is part of

    The Snapshot group this requestvar is part of

    Definition Classes
    SnapshotRequestVarRequestVar
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def testWasSet(name: String, bn: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait
  44. def toString(): String

    Permalink
    Definition Classes
    AnyVarTrait → AnyRef → Any
  45. def update(f: (T) ⇒ T): T

    Permalink
    Definition Classes
    AnyVarTrait
  46. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def wasInitialized(name: String, bn: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RequestVar → AnyVarTrait

Inherited from RequestVar[T]

Inherited from HasLogUnreadVal

Inherited from AnyVar[T, RequestVar[T]]

Inherited from AnyVarTrait[T, RequestVar[T]]

Inherited from HasCalcDefaultValue[T]

Inherited from PSettableValueHolder[T]

Inherited from SettableValueHolder

Inherited from Settable

Inherited from PValueHolder[T]

Inherited from ValueHolder

Inherited from AnyRef

Inherited from Any

Ungrouped