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
MockMvcrather than making actual requests over HTTP.The main class for testing Spring MVC applications viaWebTestClientwithMockMvcfor server request handling.Specification for configuringMockMvcto test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder.Base specification for configuringMockMvc, and a simple facade aroundConfigurableMockMvcBuilder.Specification for configuringMockMvcto test one or more router functions directly, and a simple facade aroundRouterFunctionMockMvcBuilder.