Package-level declarations

Types

Link copied to clipboard

Provide a MockHttpServletRequestBuilder Kotlin DSL in order to be able to write idiomatic Kotlin code.

Link copied to clipboard

Provide a MockMultipartHttpServletRequestBuilder Kotlin DSL in order to be able to write idiomatic Kotlin code.

Link copied to clipboard

Provide a MockMvcResultHandlers Kotlin DSL in order to be able to write idiomatic Kotlin code.

Link copied to clipboard

Provide a MockMvcResultMatchers Kotlin DSL in order to be able to write idiomatic Kotlin code.

Link copied to clipboard
class ResultActionsDsl(actions: ResultActions, mockMvc: MockMvc)

Provide a ResultActions Kotlin DSL in order to be able to write idiomatic Kotlin code.

Functions

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockMultipartHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

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

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.

Link copied to clipboard
fun MockMvc.request(method: HttpMethod, urlTemplate: String, vararg vars: Any?, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl

MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.