options

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

Author

Sebastien Deleuze

Since

5.2

See also