net.liftweb.http.S.DispatchHolder

class DispatchHolder

case class DispatchHolder(val name : String, val dispatch : PartialFunction)

 extends Product


DispatchHolder holds a partial function that maps a Req to a LiftResponse. It is used for per-session dispatch, as opposed to global dispatch, which are handled by the LiftRules.dispatch RulesSeq. This case class exists so that DispatchPFs may be manipulated by name. See S.addHighLevelSessionDispatcher for example usage.
see
- # addHighLevelSessionDispatcher
- # clearHighLevelSessionDispatcher
- LiftRules # dispatch
- # highLevelSessionDispatchList
- # removeHighLevelSessionDispatcher
- LiftResponse


Source: S.scala(72)

 Constructors

def this(name : String, dispatch : PartialFunction)

 Fields

productArity.. override def productArity Int
productPrefix.. override def productPrefix 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
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. override def equals(arg0 : Any) Boolean
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. override def hashCode Int
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
productElement.. override def productElement(arg0 : Int) Any
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. override def toString String
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.