Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.BodySpec
Packages that use WebTestClient.BodySpec Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.Uses of WebTestClient.BodySpec in org.springframework.test.web.reactive.server
Classes in org.springframework.test.web.reactive.server with type parameters of type WebTestClient.BodySpec Modifier and Type Interface Description static interface
WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B,S>>
Spec for expectations on the response body decoded to a single Object.Subinterfaces of WebTestClient.BodySpec in org.springframework.test.web.reactive.server Modifier and Type Interface Description static interface
WebTestClient.ListBodySpec<E>
Spec for expectations on the response body decoded to a List.Methods in org.springframework.test.web.reactive.server that return WebTestClient.BodySpec Modifier and Type Method Description <B> WebTestClient.BodySpec<B,?>
WebTestClient.ResponseSpec. expectBody(Class<B> bodyType)
Consume and decode the response body to a single object of type<B>
and then apply assertions.<B> WebTestClient.BodySpec<B,?>
WebTestClient.ResponseSpec. expectBody(ParameterizedTypeReference<B> bodyType)
Alternative toWebTestClient.ResponseSpec.expectBody(Class)
that accepts information about a target type with generics.