Class

net.liftweb.mocks

MockHttpServletResponse

Related Doc: package mocks

Permalink

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. MockHttpServletResponse
  2. HttpServletResponse
  3. ServletResponse
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addCookie(cookie: Cookie): Unit

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

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

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

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

    Permalink
    Definition Classes
    Any
  9. var bufferSize: Int

    Permalink
    Attributes
    protected
  10. var charEncoding: String

    Permalink
    Attributes
    protected
  11. def clone(): AnyRef

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

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  13. var contentLength: Int

    Permalink
    Attributes
    protected
  14. var contentType: String

    Permalink
    Attributes
    protected
  15. var cookies: List[Cookie]

    Permalink
    Attributes
    protected
  16. def encodeRedirectURL(url: String): String

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def flushBuffer(): Unit

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

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

    Permalink
    Definition Classes
    MockHttpServletResponse → ServletResponse
  26. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    MockHttpServletResponse → ServletResponse
  28. def getHeader(name: String): String

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  29. def getHeaderNames(): Collection[String]

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  30. def getHeaders(name: String): Collection[String]

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  31. def getLocale(): Locale

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

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

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  34. def getWriter(): PrintWriter

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

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

    Permalink
    Attributes
    protected
  37. def isCommitted(): Boolean

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

    Permalink
    Definition Classes
    Any
  39. var locale: Locale

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

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. var outputStream: ServletOutputStream

    Permalink

    an OutputStream that the response will be written to.

  44. def reset(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MockHttpServletResponse → ServletResponse
  52. def setContentLengthLong(l: Long): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MockHttpServletResponse → HttpServletResponse
  60. var statusCode: Int

    Permalink
    Attributes
    protected
  61. var statusString: String

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

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

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

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

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

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

    Permalink

    a PrintWriter that the response will be written with

Inherited from HttpServletResponse

Inherited from ServletResponse

Inherited from AnyRef

Inherited from Any

Ungrouped