# Uses of Package
org.springframework.test.web.reactive.server

Packages that use org.springframework.test.web.reactive.server
Package
Description
org.springframework.test.web.reactive.server
Support for testing Spring WebFlux server endpoints via `WebTestClient`.
org.springframework.test.web.servlet.client
Support for testing Spring MVC applications via `WebTestClient` with `MockMvc` for server request handling.

Classes in org.springframework.test.web.reactive.server used by org.springframework.test.web.reactive.server
Class
Description
CookieAssertions
Assertions on cookies of the response.
EntityExchangeResult
`ExchangeResult` sub-class that exposes the response body fully extracted to a representation of type `<T>`.
ExchangeResult
Container for request and response details for exchanges performed through `WebTestClient`.
FluxExchangeResult
`ExchangeResult` variant with the response body decoded as `Flux<T>` but not yet consumed.
HeaderAssertions
Assertions on headers of the response.
JsonPathAssertions
JsonPath assertions.
MockServerConfigurer
Contract that frameworks or applications can use to pre-package a set of customizations to a `WebTestClient.MockServerSpec` and expose that as a shortcut.
StatusAssertions
Assertions on the response status.
WebTestClient
Client for testing web servers that uses `WebClient` internally to perform requests while also providing a fluent API to verify responses.
WebTestClient.BodyContentSpec
Spec for expectations on the response body content.
WebTestClient.BodySpec
Spec for expectations on the response body decoded to a single Object.
WebTestClient.Builder
Steps for customizing the `WebClient` used to test with, internally delegating to a `WebClient.Builder`.
WebTestClient.ControllerSpec
Specification for customizing controller configuration equivalent to, and internally delegating to, a `WebFluxConfigurer`.
WebTestClient.ListBodySpec
Spec for expectations on the response body decoded to a List.
WebTestClient.MockServerSpec
Base specification for setting up tests without a server.
WebTestClient.RequestBodySpec
Specification for providing body of a request.
WebTestClient.RequestBodyUriSpec
Specification for providing the body and the URI of a request.
WebTestClient.RequestHeadersSpec
Specification for adding request headers and performing an exchange.
WebTestClient.RequestHeadersUriSpec
Specification for providing request headers and the URI of a request.
WebTestClient.ResponseSpec
Chained API for applying assertions to a response.
WebTestClient.ResponseSpec.ResponseSpecConsumer
`Consumer` of a `WebTestClient.ResponseSpec`.
WebTestClient.RouterFunctionSpec
Specification for customizing router function configuration.
WebTestClient.UriSpec
Specification for providing the URI of a request.
WebTestClientConfigurer
Contract to encapsulate customizations to a `WebTestClient.Builder`.
XpathAssertions
XPath assertions for the `WebTestClient`.
Classes in org.springframework.test.web.reactive.server used by org.springframework.test.web.servlet.client
Class
Description
ExchangeResult
Container for request and response details for exchanges performed through `WebTestClient`.
WebTestClient
Client for testing web servers that uses `WebClient` internally to perform requests while also providing a fluent API to verify responses.
WebTestClient.Builder
Steps for customizing the `WebClient` used to test with, internally delegating to a `WebClient.Builder`.