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

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

andDo

Provide access to MockMvcResultHandlersDsl Kotlin DSL.

fun andDo(dsl: MockMvcResultHandlersDsl.() -> Unit): ResultActionsDsl

andExpect

Provide access to MockMvcResultMatchersDsl Kotlin DSL.

fun andExpect(dsl: MockMvcResultMatchersDsl.() -> Unit): ResultActionsDsl

andReturn

fun andReturn(): MvcResult!

asyncDispatch

Enable asynchronous dispatching.

fun asyncDispatch(): ResultActionsDsl