Uses of Class
org.springframework.test.web.reactive.server.ExchangeResult
Packages that use ExchangeResult
Package
Description
Support for testing Spring WebFlux server endpoints via
WebTestClient.AssertJ support for WebTestClient.
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.-
Uses of ExchangeResult in org.springframework.test.web.reactive.server
Subclasses of ExchangeResult in org.springframework.test.web.reactive.serverModifier and TypeClassDescriptionclassExchangeResultsub-class that exposes the response body fully extracted to a representation of type<T>.classExchangeResultvariant with the response body decoded asFlux<T>but not yet consumed.Subclasses with type arguments of type ExchangeResult in org.springframework.test.web.reactive.serverModifier and TypeClassDescriptionclassAssertions on cookies of the response.classAssertions on headers of the response.classAssertions on the response status.Methods in org.springframework.test.web.reactive.server that return ExchangeResultModifier and TypeMethodDescriptiondefault ExchangeResultWebTestClient.ResponseSpec.returnResult()Return anExchangeResultwith the raw content. -
Uses of ExchangeResult in org.springframework.test.web.reactive.server.assertj
Methods in org.springframework.test.web.reactive.server.assertj that return ExchangeResultModifier and TypeMethodDescriptionWebTestClientResponse.getExchangeResult()Return the underlyingExchangeResult.Methods in org.springframework.test.web.reactive.server.assertj with parameters of type ExchangeResultModifier and TypeMethodDescriptionstatic WebTestClientResponseWebTestClientResponse.from(ExchangeResult result) Create an instance from anExchangeResult. -
Uses of ExchangeResult in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client with parameters of type ExchangeResultModifier and TypeMethodDescriptionstatic ResultActionsMockMvcWebTestClient.resultActionsFor(ExchangeResult exchangeResult) This method can be used to apply further assertions on a givenExchangeResultbased the state of the server response.