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. |
Modifier and Type | Method and Description |
---|---|
WebTestClient |
WebTestClient.MockServerSpec.build()
Shortcut to build the test client.
|
WebTestClient |
WebTestClient.Builder.build()
Build the
WebTestClient instance. |
WebTestClient |
WebTestClient.mutateWith(WebTestClientConfigurer configurer)
Mutate the
WebTestClient , apply the given configurer, and build
a new instance. |
Modifier and Type | Method and Description |
---|---|
WebTestClient |
MockMvcWebTestClient.MockMvcServerSpec.build()
Shortcut to build the test client.
|