net.liftweb.mocks.MockHttpServletResponse

class MockHttpServletResponse

class MockHttpServletResponse(val writer : PrintWriter, val outputStream : ServletOutputStream)

 extends HttpServletResponse with ScalaObject


A Mock HttpServletResponse. Take a peek at it's writer or outputStream to see what lift has written in response to your request
author
- Steve Jenson (stevej@pobox.com)
param
outputStream - an OutputStream that the response will be written to.
writer - a PrintWriter that the response will be written with


Source: MockHttpServletResponse.scala(46)

 Constructors

def this(writer : PrintWriter, outputStream : ServletOutputStream)

 Fields

bufferSize.. protected var bufferSize Int
charEncoding.. protected var charEncoding String
contentLength.. protected var contentLength Int
contentType.. protected var contentType String
cookies.. protected var cookies List[Cookie]
headers.. protected var headers Map[String, List[String]]
locale.. protected var locale Locale
statusCode.. protected var statusCode Int
statusString.. protected var statusString String

 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
addCookie.. def addCookie(cookie : Cookie) Unit
addDateHeader.. def addDateHeader(s : String, l : Long) Unit
addHeader.. def addHeader(s1 : String, s2 : String) Unit
addIntHeader.. def addIntHeader(s : String, i : Int) Unit
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
containsHeader.. def containsHeader(header : String) Boolean
encodeRedirectURL.. def encodeRedirectURL(url : String) String
encodeRedirectUrl.. def encodeRedirectUrl(url : String) String
encodeURL.. def encodeURL(url : String) String
encodeUrl.. def encodeUrl(url : String) String
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
flushBuffer.. def flushBuffer Unit
getBufferSize.. def getBufferSize Int
getCharacterEncoding.. def getCharacterEncoding String
getClass.. final def getClass Class[Any] AnyRef
getContentType.. def getContentType String
getLocale.. def getLocale Locale
getOutputStream.. def getOutputStream ServletOutputStream
getWriter.. def getWriter PrintWriter
hashCode.. def hashCode Int AnyRef
isCommitted.. def isCommitted Boolean
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
reset.. def reset Unit
resetBuffer.. def resetBuffer Unit
sendError.. def sendError(code : Int) Unit
sendError.. def sendError(code : Int, s : String) Unit
sendRedirect.. def sendRedirect(uri : String) Unit
setBufferSize.. def setBufferSize(i : Int) Unit
setCharacterEncoding.. def setCharacterEncoding(e : String) Unit
setContentLength.. def setContentLength(l : Int) Unit
setContentType.. def setContentType(t : String) Unit
setDateHeader.. def setDateHeader(s : String, l : Long) Unit
setHeader.. def setHeader(s1 : String, s2 : String) Unit
setIntHeader.. def setIntHeader(s : String, i : Int) Unit
setLocale.. def setLocale(l : Locale) Unit
setStatus.. def setStatus(i : Int) Unit
setStatus.. def setStatus(i : Int, s : String) Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.