Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.BodySpec
-
Uses of WebTestClient.BodySpec in org.springframework.test.web.reactive.server
Modifier and TypeInterfaceDescriptionstatic interface
WebTestClient.BodySpec<B,
S extends WebTestClient.BodySpec<B, S>> Spec for expectations on the response body decoded to a single Object.Modifier and TypeInterfaceDescriptionstatic interface
Spec for expectations on the response body decoded to a List.Modifier and TypeMethodDescription<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.