Package org.springframework.test.web.reactive.server
Types
Kotlin compliant WebTestClient.BodySpec
for expectations on the response body decoded to a single Object, see KT-5464 for more details.
Functions
Extension for RequestBodySpec.body providing a variant without explicit class parameter thanks to Kotlin reified type parameters.
Extension for RequestBodySpec.body providing a body<T>(Any)
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Extension for RequestBodySpec.body providing a body(Flow<T>)
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Extension for ResponseSpec.expectBody providing an expectBody<Foo>()
variant and a workaround for KT-5464 which prevents to use WebTestClient.BodySpec
in Kotlin.
Extension for ResponseSpec.expectBodyList providing a expectBodyList<Foo>()
variant.
Extension for ResponseSpec.returnResult providing a returnResult<Foo>()
variant.