spring-framework
5.3.39

# ResultActionsDsl

class ResultActionsDsl
Content copied to clipboard

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

#### Author

Sebastien Deleuze

#### Since

5.2

## Functions

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

Provide access to MockMvcResultHandlersDsl Kotlin DSL.

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

Provide access to MockMvcResultMatchersDsl Kotlin DSL.

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

Enable asynchronous dispatching.