spring-framework
5.3.39

# get

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

#### Author

Sebastien Deleuze

#### Since

5.2

## See also

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