@NonNullApi @NonNullFields

# Package org.springframework.mock.web

A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.

See: Description

- Class Summary
  Class | Description
  --- | ---
  DelegatingServletInputStream | Delegating implementation of `ServletInputStream`.
  DelegatingServletOutputStream | Delegating implementation of `ServletOutputStream`.
  MockAsyncContext | Mock implementation of the `AsyncContext` interface.
  MockBodyContent | Mock implementation of the `BodyContent` class.
  MockCookie | Extension of `Cookie` with extra attributes, as defined in RFC 6265.
  MockExpressionEvaluator | Mock implementation of the JSP 2.0 `ExpressionEvaluator` interface, delegating to the Apache JSTL `ExpressionEvaluatorManager`.
  MockFilterChain | Mock implementation of the `FilterChain` interface.
  MockFilterConfig | Mock implementation of the `FilterConfig` interface.
  MockHttpServletMapping | Mock implementation of `HttpServletMapping`.
  MockHttpServletRequest | Mock implementation of the `HttpServletRequest` interface.
  MockHttpServletResponse | Mock implementation of the `HttpServletResponse` interface.
  MockHttpSession | Mock implementation of the `HttpSession` interface.
  MockJspWriter | Mock implementation of the `JspWriter` class.
  MockMultipartFile | Mock implementation of the `MultipartFile` interface.
  MockMultipartHttpServletRequest | Mock implementation of the `MultipartHttpServletRequest` interface.
  MockPageContext | Mock implementation of the `PageContext` interface.
  MockPart | Mock implementation of `javax.servlet.http.Part`.
  MockRequestDispatcher | Mock implementation of the `RequestDispatcher` interface.
  MockServletConfig | Mock implementation of the `ServletConfig` interface.
  MockServletContext | Mock implementation of the `ServletContext` interface.
  MockSessionCookieConfig | Mock implementation of the `SessionCookieConfig` interface.
  PassThroughFilterChain | Implementation of the `FilterConfig` interface which simply passes the call through to a given Filter/FilterChain combination (indicating the next Filter in the chain along with the FilterChain that it is supposed to work on) or to a given Servlet (indicating the end of the chain).

## Package org.springframework.mock.web Description

A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.

Useful for testing web contexts and controllers.