## Uses of Class
org.springframework.mock.web.MockHttpServletResponse

- Packages that use MockHttpServletResponse
  Package | Description
  --- | ---
  org.springframework.mock.web | A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.
  org.springframework.test.web.servlet | Contains server-side support for testing Spring MVC applications.
  org.springframework.test.web.servlet.result | Contains built-in `ResultMatcher` and `ResultHandler` implementations.

- - ### Uses of MockHttpServletResponse in org.springframework.mock.web

    Methods in org.springframework.mock.web that return MockHttpServletResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected MockHttpServletResponse` | MockRequestDispatcher.`getMockHttpServletResponse(ServletResponse response)` Obtain the underlying `MockHttpServletResponse`, unwrapping `HttpServletResponseWrapper` decorators if necessary.

  - ### Uses of MockHttpServletResponse in org.springframework.test.web.servlet

    Methods in org.springframework.test.web.servlet that return MockHttpServletResponse
    Modifier and Type | Method and Description
    --- | ---
    `MockHttpServletResponse` | MvcResult.`getResponse()` Return the resulting response.

  - ### Uses of MockHttpServletResponse in org.springframework.test.web.servlet.result

    Methods in org.springframework.test.web.servlet.result with parameters of type MockHttpServletResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpHeaders` | PrintingResultHandler.`getResponseHeaders(MockHttpServletResponse response)`
    `protected void` | PrintingResultHandler.`printResponse(MockHttpServletResponse response)` Print the response.