# Uses of Package
org.springframework.test.web.servlet

Packages that use org.springframework.test.web.servlet
Package
Description
org.springframework.test.web.client
Contains client-side REST testing support.
org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
org.springframework.test.web.servlet.assertj
AssertJ support for MockMvc.
org.springframework.test.web.servlet.client
Support for testing Spring MVC applications via `WebTestClient` with `MockMvc` for server request handling.
org.springframework.test.web.servlet.htmlunit
Server-side support for testing Spring MVC applications with `MockMvc` and HtmlUnit.
org.springframework.test.web.servlet.htmlunit.webdriver
Server-side support for testing Spring MVC applications with `MockMvc` and the Selenium `HtmlUnitDriver`.
org.springframework.test.web.servlet.request
Contains built-in `RequestBuilder` implementations.
org.springframework.test.web.servlet.result
Contains built-in `ResultMatcher` and `ResultHandler` implementations.
org.springframework.test.web.servlet.setup
Contains built-in `MockMvcBuilder` implementations.

Classes in org.springframework.test.web.servlet used by org.springframework.test.web.client
Class
Description
MockMvc
Main entry point for server-side Spring MVC test support.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet
Class
Description
MockMvc
Main entry point for server-side Spring MVC test support.
MvcResult
Provides access to the result of an executed request.
RequestBuilder
Builds a `MockHttpServletRequest`.
ResultActions
Allows applying actions, such as expectations, on the result of an executed request.
ResultHandler
A `ResultHandler` performs a generic action on the result of an executed request — for example, printing debug information.
ResultMatcher
A `ResultMatcher` matches the result of an executed request against some expectation.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.assertj
Class
Description
MockMvc
Main entry point for server-side Spring MVC test support.
MvcResult
Provides access to the result of an executed request.
RequestBuilder
Builds a `MockHttpServletRequest`.
ResultHandler
A `ResultHandler` performs a generic action on the result of an executed request — for example, printing debug information.
ResultMatcher
A `ResultMatcher` matches the result of an executed request against some expectation.
SmartRequestBuilder
Extended variant of a `RequestBuilder` that applies its `org.springframework.test.web.servlet.request.RequestPostProcessors` as a separate step from the `RequestBuilder.buildRequest(jakarta.servlet.ServletContext)` method.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.client
Class
Description
DispatcherServletCustomizer
Strategy interface for customizing `DispatcherServlet` instances that are managed by `MockMvc`.
MockMvc
Main entry point for server-side Spring MVC test support.
RequestBuilder
Builds a `MockHttpServletRequest`.
ResultActions
Allows applying actions, such as expectations, on the result of an executed request.
ResultMatcher
A `ResultMatcher` matches the result of an executed request against some expectation.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.htmlunit
Class
Description
MockMvc
Main entry point for server-side Spring MVC test support.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.htmlunit.webdriver
Class
Description
MockMvc
Main entry point for server-side Spring MVC test support.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.request
Class
Description
MvcResult
Provides access to the result of an executed request.
RequestBuilder
Builds a `MockHttpServletRequest`.
SmartRequestBuilder
Extended variant of a `RequestBuilder` that applies its `org.springframework.test.web.servlet.request.RequestPostProcessors` as a separate step from the `RequestBuilder.buildRequest(jakarta.servlet.ServletContext)` method.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.result
Class
Description
MvcResult
Provides access to the result of an executed request.
ResultHandler
A `ResultHandler` performs a generic action on the result of an executed request — for example, printing debug information.
ResultMatcher
A `ResultMatcher` matches the result of an executed request against some expectation.
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.setup
Class
Description
DispatcherServletCustomizer
Strategy interface for customizing `DispatcherServlet` instances that are managed by `MockMvc`.
MockMvc
Main entry point for server-side Spring MVC test support.
MockMvcBuilder
Builds a `MockMvc` instance.
MockMvcBuilderSupport
Base class for MockMvc builder implementations, providing the capability to create a `MockMvc` instance.
RequestBuilder
Builds a `MockHttpServletRequest`.
ResultHandler
A `ResultHandler` performs a generic action on the result of an executed request — for example, printing debug information.
ResultMatcher
A `ResultMatcher` matches the result of an executed request against some expectation.