Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.BodyContentSpec
Packages that use WebTestClient.BodyContentSpec
-
Uses of WebTestClient.BodyContentSpec in org.springframework.test.web.reactive.server
Subclasses with type arguments of type WebTestClient.BodyContentSpec in org.springframework.test.web.reactive.serverModifier and TypeClassDescriptionclassJsonPath assertions.classXPath assertions for theWebTestClient.Methods in org.springframework.test.web.reactive.server that return WebTestClient.BodyContentSpecModifier and TypeMethodDescriptionWebTestClient.BodyContentSpec.consumeWith(Consumer<EntityExchangeResult<byte[]>> consumer) Assert the response body content with the givenConsumer.WebTestClient.ResponseSpec.expectBody()Consume and decode the response body tobyte[]and then apply assertions on the raw content (for example, isEmpty, JSONPath, etc.).default WebTestClient.BodyContentSpecParse the expected and actual response content as JSON and perform a comparison verifying that they contain the same attribute-value pairs regardless of formatting with lenient checking (extensible and non-strict array ordering).Deprecated.WebTestClient.BodyContentSpec.json(String expectedJson, JsonComparator comparator) Parse the expected and actual response content as JSON and perform a comparison using the givenJsonComparator.WebTestClient.BodyContentSpec.json(String expectedJson, JsonCompareMode compareMode) Parse the expected and actual response content as JSON and perform a comparison using the given mode.Parse expected and actual response content as XML and assert that the two are "similar", i.e.
WebTestClient.BodyContentSpec.json(String, JsonCompareMode)