head

fun MockMvc.head(urlTemplate: String, vararg vars: Any?, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl
fun MockMvc.head(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