spring-framework / org.springframework.test.web.servlet / MockMvcResultHandlersDsl

MockMvcResultHandlersDsl

class MockMvcResultHandlersDsl

Provide a MockMvcResultHandlers Kotlin DSL in order to be able to write idiomatic Kotlin code.

Author
Sebastien Deleuze

Since
5.2

Constructors

<init>

MockMvcResultHandlersDsl(actions: ResultActions)

Provide a MockMvcResultHandlers Kotlin DSL in order to be able to write idiomatic Kotlin code.

Functions

handle

fun handle(resultHandler: ResultHandler): Unit

log

fun log(): Unit

print

fun print(): Unit
fun print(stream: OutputStream): Unit
fun print(writer: Writer): Unit