put

fun MockMvc.put(urlTemplate: String, vararg vars: Any?, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl
fun MockMvc.put(uri: URI, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

Author

Sebastien Deleuze

Since

5.2

See also

org.springframework.test.web.servlet.request.MockMvcRequestBuilders