multipart

fun MockMvc.multipart(urlTemplate: String, vararg vars: Any?, dsl: MockMultipartHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl

MockMvc extension providing access to MockMultipartHttpServletRequestDsl Kotlin DSL.

Author

Sebastien Deleuze

Since

5.2

See also

MockMvcRequestBuilders.multipart

fun MockMvc.multipart(httpMethod: HttpMethod, urlTemplate: String, vararg vars: Any?, dsl: MockMultipartHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl
fun MockMvc.multipart(httpMethod: HttpMethod, uri: URI, dsl: MockMultipartHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl

MockMvc extension providing access to MockMultipartHttpServletRequestDsl Kotlin DSL.

Author

Sebastien Deleuze

Since

5.3.26

See also

MockMvcRequestBuilders.multipart