open class MockBodyContent : BodyContent
Mock implementation of the javax.servlet.jsp.tagext.BodyContent class. Only necessary for testing applications when testing custom JSP tags.
Author
Juergen Hoeller
Since
2.5
MockBodyContent(content: String, response: HttpServletResponse) MockBodyContent(content: String, targetWriter: Writer) MockBodyContent(content: String, response: HttpServletResponse, targetWriter: Writer)
Create a MockBodyContent for the given response. |
open fun clear(): Unit |
|
open fun clearBuffer(): Unit |
|
open fun close(): Unit |
|
open fun getReader(): Reader |
|
open fun getRemaining(): Int |
|
open fun getString(): String |
|
open fun newLine(): Unit |
|
open fun print(value: Boolean): Unit open fun print(value: Char): Unit open fun print(value: CharArray): Unit open fun print(value: Double): Unit open fun print(value: Float): Unit open fun print(value: Int): Unit open fun print(value: Long): Unit open fun print(value: Any): Unit open fun print(value: String): Unit |
|
open fun println(): Unit open fun println(value: Boolean): Unit open fun println(value: Char): Unit open fun println(value: CharArray): Unit open fun println(value: Double): Unit open fun println(value: Float): Unit open fun println(value: Int): Unit open fun println(value: Long): Unit open fun println(value: Any): Unit open fun println(value: String): Unit |
|
open fun write(value: CharArray, offset: Int, length: Int): Unit |
|
open fun writeOut(writer: Writer): Unit |