MockHttpServletRequestDsl

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

Author

Sebastien Deleuze

Since

5.2

See also

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var content: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun accept(vararg mediaTypes: MediaType)
Link copied to clipboard
fun cookie(vararg cookies: Cookie)
Link copied to clipboard
fun flashAttr(name: String, value: Any)
Link copied to clipboard
fun header(name: String, vararg values: Any)
Link copied to clipboard
fun headers(headers: HttpHeaders.() -> Unit)
Link copied to clipboard
fun locale(vararg locales: Locale)
Link copied to clipboard
Link copied to clipboard
fun param(name: String, vararg values: String)
Link copied to clipboard
fun queryParam(name: String, vararg values: String)
Link copied to clipboard
fun requestAttr(name: String, value: Any)
Link copied to clipboard
fun sessionAttr(name: String, value: Any)
Link copied to clipboard
fun with(processor: RequestPostProcessor)