Uses of Class
org.springframework.test.web.reactive.server.EntityExchangeResult
Packages that use EntityExchangeResult
-
Uses of EntityExchangeResult in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server that return EntityExchangeResultModifier and TypeMethodDescriptionWebTestClient.BodyContentSpec.isEmpty()
Assert the response body is empty and return the exchange result.EntityExchangeResult<byte[]>
WebTestClient.BodyContentSpec.returnResult()
Exit the chained API and return anExchangeResult
with the raw response content.WebTestClient.BodySpec.returnResult()
Exit the chained API and return anExchangeResult
with the decoded response content.Method parameters in org.springframework.test.web.reactive.server with type arguments of type EntityExchangeResultModifier and TypeMethodDescriptionWebTestClient.BodyContentSpec.consumeWith
(Consumer<EntityExchangeResult<byte[]>> consumer) Assert the response body content with the givenConsumer
.<T extends S>
TWebTestClient.BodySpec.consumeWith
(Consumer<EntityExchangeResult<B>> consumer) Assert the exchange result with the givenConsumer
.WebTestClient.Builder.entityExchangeResultConsumer
(Consumer<EntityExchangeResult<?>> consumer) Configure anEntityExchangeResult
callback that is invoked every time after a response is fully decoded to a single entity, to a List of entities, or to a byte[].