net.liftweb.http.rest.XMLApiHelper

trait XMLApiHelper

trait XMLApiHelper

 extends ScalaObject


Mix this trait into your REST service provider to convert between different response and a LiftResponse


Source: XMLApiHelper.scala(32)

 Fields

msgAttrName.. def msgAttrName
The attribute name for any msg attribute
String
operation.. protected def operation Option[NodeSeq]
operationAttrName.. def operationAttrName
The attribute name for operation
String
successAttrName.. def successAttrName
The attribute name for success
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
boolToResponse.. implicit def boolToResponse(in : Boolean) LiftResponse
buildResponse.. protected def buildResponse(success : Boolean, msg : Box[NodeSeq], body : NodeSeq)
Build the Response based on Success, an optional message and the body
LiftResponse
canBoolToResponse.. implicit def canBoolToResponse(in : Box[Boolean]) LiftResponse
canNodeToResponse.. implicit def canNodeToResponse(in : Box[NodeSeq]) LiftResponse
clone.. protected def clone Object AnyRef
createTag.. abstract def createTag(in : NodeSeq)
The method that wraps the outer-most tag around the body
Elem
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
listElemToResponse.. implicit def listElemToResponse(in : Seq[Node]) LiftResponse
ne.. final def ne(arg0 : Object) Boolean AnyRef
nodeSeqToResponse.. implicit def nodeSeqToResponse(in : NodeSeq) LiftResponse
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
pairToResponse.. implicit def pairToResponse(in : (Boolean, String)) LiftResponse
putResponseInBox.. implicit def putResponseInBox(in : LiftResponse) Box[LiftResponse]
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
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.