spring-framework / org.springframework.test.web.reactive.server

Package org.springframework.test.web.reactive.server

Functions

body

fun <T : Any, S : Publisher<T>> RequestBodySpec.body(publisher: S): RequestHeadersSpec<*>

Extension for RequestBodySpec.body providing a variant without explicit class parameter thanks to Kotlin reified type parameters.

expectBody

fun <B : Any> ResponseSpec.expectBody(): BodySpec<B, *>

Extension for ResponseSpec.expectBody providing a expectBody<Foo>() variant.

expectBodyList

fun <E : Any> ResponseSpec.expectBodyList(): ListBodySpec<E>

Extension for ResponseSpec.expectBodyList providing a expectBodyList<Foo>() variant.

returnResult

fun <T : Any> ResponseSpec.returnResult(): FluxExchangeResult<T>

Extension for ResponseSpec.returnResult providing a returnResult<Foo>() variant.