# Package org.springframework.test.web.servlet.request

@NonNullApi @NonNullFields package org.springframework.test.web.servlet.request
Contains built-in `RequestBuilder` implementations. Use `MockMvcRequestBuilders` to gain access to instances of those implementations.

Related Packages
Package
Description
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.result
Contains built-in `ResultMatcher` and `ResultHandler` implementations.
org.springframework.test.web.servlet.setup
Contains built-in `MockMvcBuilder` implementations.
Class
Description
AbstractMockHttpServletRequestBuilder<B extends AbstractMockHttpServletRequestBuilder<B>>
Base builder for `MockHttpServletRequest` required as input to perform requests in `MockMvc`.
AbstractMockMultipartHttpServletRequestBuilder<B extends AbstractMockMultipartHttpServletRequestBuilder<B>>
Base builder for `MockMultipartHttpServletRequest`.
ConfigurableSmartRequestBuilder<B extends ConfigurableSmartRequestBuilder<B>>
An extension of `SmartRequestBuilder` that can be configured with `RequestPostProcessors`.
MockHttpServletRequestBuilder
Default builder for `MockHttpServletRequest` required as input to perform requests in `MockMvc`.
MockMultipartHttpServletRequestBuilder
Default builder for `MockMultipartHttpServletRequest`.
MockMvcRequestBuilders
Static factory methods for `RequestBuilders`.
RequestPostProcessor
Extension point for applications or 3rd party libraries that wish to further initialize a `MockHttpServletRequest` instance after it has been built by `MockHttpServletRequestBuilder` or its subclass `MockMultipartHttpServletRequestBuilder`.