Package org.springframework.test.web.servlet.client
@NonNullApi
@NonNullFields
package org.springframework.test.web.servlet.client
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.-
ClassDescriptionConnector that handles requests by invoking a
MockMvc
rather than making actual requests over HTTP.The main class for testing Spring MVC applications viaWebTestClient
withMockMvc
for server request handling.Specification for configuringMockMvc
to test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder
.Base specification for configuringMockMvc
, and a simple facade aroundConfigurableMockMvcBuilder
.