net.liftweb.http.provider.HTTPSession

trait HTTPSession

trait HTTPSession

 extends Object


The representation of a HTTP session


Source: HTTPSession.scala(24)

Direct Known Subclasses

HTTPServletSession,

 Fields

lastAccessedTime.. abstract def lastAccessedTime
[details]
return
- - the last time server receivsd a client request for this session
Long
maxInactiveInterval.. abstract def maxInactiveInterval
[details]
return
- s - the maximim interval in seconds between client request and the time when the session will be terminated
Long
sessionId.. abstract def sessionId
[details]
return
- - the HTTP session ID
String

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
attribute.. abstract def attribute(name : String)
[details]
param
name - - the attribute name
return
- - the attribute value associated with this name
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
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
link.. abstract def link(liftSession : LiftSession)
Links a LiftSession with this HTTP session [details]
Hence when the HTTP session terminates or times out LiftSession will be destroyed as well.
param
liftSession - - the LiftSession
Unit
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
removeAttribute.. abstract def removeAttribute(name : String)
Removes the session attribute having this name [details]
param
name - - the attribute name
Unit
setAttribute.. abstract def setAttribute(name : String, value : Any)
Sets a value associated with a name for this session [details]
param
value - - any value
name - - the attribute name
Unit
setMaxInactiveInterval.. abstract def setMaxInactiveInterval(interval : Long)
Sets the maximim interval in seconds between client request and the time when the session will be terminated [details]
param
interval - - the value in seconds
Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
terminate.. abstract def terminate
Terminates this session
Unit
toString.. def toString String AnyRef
unlink.. abstract def unlink(liftSession : LiftSession)
The opposite of the link [details]
Hence the LiftSession and the HTTP session no longer needs to be related. It is called when LiftSession is explicitelly terminated.
param
liftSession - - the LiftSession
Unit
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.