Class MockHttpServletResponse

java.lang.Object
org.springframework.mock.web.MockHttpServletResponse
All Implemented Interfaces:
HttpServletResponse, ServletResponse

public class MockHttpServletResponse extends Object implements HttpServletResponse
Mock implementation of the HttpServletResponse interface.

As of Spring 6.0, this set of mocks is designed on a Servlet 6.0 baseline.

Since:
1.0.2
Author:
Juergen Hoeller, Rod Johnson, Brian Clozel, Vedran Pavic, Sebastien Deleuze, Sam Brannen