net.liftweb.mocks

MockHttpServletResponse

class MockHttpServletResponse extends HttpServletResponse

A Mock HttpServletResponse. Take a peek at it's writer or outputStream to see what lift has written in response to your request

Linear Supertypes
HttpServletResponse, ServletResponse, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MockHttpServletResponse
  2. HttpServletResponse
  3. ServletResponse
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockHttpServletResponse(writer: PrintWriter, outputStream: ServletOutputStream)

    writer

    a PrintWriter that the response will be written with

    outputStream

    an OutputStream that the response will be written to.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addCookie(cookie: Cookie): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  7. def addDateHeader(s: String, l: Long): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  8. def addHeader(s1: String, s2: String): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  9. def addIntHeader(s: String, i: Int): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. var bufferSize: Int

    Attributes
    protected
  12. var charEncoding: String

    Attributes
    protected
  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def containsHeader(header: String): Boolean

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  15. var contentLength: Int

    Attributes
    protected
  16. var contentType: String

    Attributes
    protected
  17. var cookies: List[Cookie]

    Attributes
    protected
  18. def encodeRedirectURL(url: String): String

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  19. def encodeRedirectUrl(url: String): String

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  20. def encodeURL(url: String): String

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  21. def encodeUrl(url: String): String

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  22. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def flushBuffer(): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  26. def getBufferSize(): Int

    Definition Classes
    MockHttpServletResponse → ServletResponse
  27. def getCharacterEncoding(): String

    Definition Classes
    MockHttpServletResponse → ServletResponse
  28. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  29. def getContentType(): String

    Definition Classes
    MockHttpServletResponse → ServletResponse
  30. def getLocale(): Locale

    Definition Classes
    MockHttpServletResponse → ServletResponse
  31. def getOutputStream(): ServletOutputStream

    Definition Classes
    MockHttpServletResponse → ServletResponse
  32. def getWriter(): PrintWriter

    Definition Classes
    MockHttpServletResponse → ServletResponse
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. var headers: Map[String, List[String]]

    Attributes
    protected
  35. def isCommitted(): Boolean

    Definition Classes
    MockHttpServletResponse → ServletResponse
  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. var locale: Locale

    Attributes
    protected
  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  41. var outputStream: ServletOutputStream

    an OutputStream that the response will be written to.

  42. def reset(): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  43. def resetBuffer(): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  44. def sendError(code: Int, s: String): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  45. def sendError(code: Int): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  46. def sendRedirect(uri: String): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  47. def setBufferSize(i: Int): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  48. def setCharacterEncoding(e: String): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  49. def setContentLength(l: Int): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  50. def setContentType(t: String): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  51. def setDateHeader(s: String, l: Long): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  52. def setHeader(s1: String, s2: String): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  53. def setIntHeader(s: String, i: Int): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  54. def setLocale(l: Locale): Unit

    Definition Classes
    MockHttpServletResponse → ServletResponse
  55. def setStatus(i: Int): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  56. def setStatus(i: Int, s: String): Unit

    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  57. var statusCode: Int

    Attributes
    protected
  58. var statusString: String

    Attributes
    protected
  59. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  60. def toString(): String

    Definition Classes
    AnyRef → Any
  61. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  64. var writer: PrintWriter

    a PrintWriter that the response will be written with

Inherited from HttpServletResponse

Inherited from ServletResponse

Inherited from AnyRef

Inherited from Any