Uses of Class
org.springframework.test.web.reactive.server.FluxExchangeResult
Packages that use FluxExchangeResult Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.Uses of FluxExchangeResult in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server that return FluxExchangeResult Modifier and Type Method Description <T> FluxExchangeResult<T>
WebTestClient.ResponseSpec. returnResult(Class<T> elementClass)
Exit the chained API and consume the response body externally.<T> FluxExchangeResult<T>
WebTestClient.ResponseSpec. returnResult(ParameterizedTypeReference<T> elementTypeRef)
Alternative toWebTestClient.ResponseSpec.returnResult(Class)
that accepts information about a target type with generics.Method parameters in org.springframework.test.web.reactive.server with type arguments of type FluxExchangeResult Modifier and Type Method Description void
FluxExchangeResult. consumeWith(Consumer<FluxExchangeResult<T>> consumer)
Invoke the given consumer withinExchangeResult.assertWithDiagnostics(Runnable)
passing"this"
instance to it.