ResultActionsDsl

class ResultActionsDsl

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

Author

Sebastien Deleuze

Since

5.2

Functions

Link copied to clipboard
fun andDo(dsl: MockMvcResultHandlersDsl.() -> Unit): ResultActionsDsl

Provide access to MockMvcResultHandlersDsl Kotlin DSL.

Link copied to clipboard
fun andExpect(dsl: MockMvcResultMatchersDsl.() -> Unit): ResultActionsDsl

Provide access to MockMvcResultMatchersDsl Kotlin DSL.

Link copied to clipboard
fun andReturn(): MvcResult
Link copied to clipboard
fun asyncDispatch(): ResultActionsDsl

Enable asynchronous dispatching.