MockMvcResultMatchersDsl

class MockMvcResultMatchersDsl

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

Author

Sebastien Deleuze

Since

5.2

Functions

Link copied to clipboard
fun content(dsl: ContentResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun cookie(dsl: CookieResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun flash(dsl: FlashAttributeResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun forwardedUrl(expectedUrl: String?)
Link copied to clipboard
fun forwardedUrlPattern(urlPattern: String)
Link copied to clipboard
fun forwardedUrlTemplate(urlTemplate: String, vararg uriVars: Any)
Link copied to clipboard
fun header(dsl: HeaderResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun <T> jsonPath(expression: String, matcher: Matcher<T>)
fun jsonPath(expression: String, vararg args: Any?, dsl: JsonPathResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun match(matcher: ResultMatcher)
Link copied to clipboard
fun model(dsl: ModelResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun redirectedUrl(expectedUrl: String)
Link copied to clipboard
fun redirectedUrlPattern(redirectedUrlPattern: String)
Link copied to clipboard
fun request(dsl: RequestResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun status(dsl: StatusResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun view(dsl: ViewResultMatchersDsl.() -> Unit)
Link copied to clipboard
fun xpath(expression: String, vararg args: Any?, namespaces: Map<String, String>? = null, dsl: XpathResultMatchersDsl.() -> Unit)