Uses of Class
org.springframework.mock.web.MockHttpServletRequest
Packages that use MockHttpServletRequest 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.request Contains built-inRequestBuilderimplementations.org.springframework.test.web.servlet.result Contains built-inResultMatcherandResultHandlerimplementations.Uses of MockHttpServletRequest in org.springframework.mock.web
Subclasses of MockHttpServletRequest in org.springframework.mock.web Modifier and Type Class Description classMockMultipartHttpServletRequestMock implementation of theMultipartHttpServletRequestinterface.Uses of MockHttpServletRequest in org.springframework.test.web.servlet
Methods in org.springframework.test.web.servlet that return MockHttpServletRequest Modifier and Type Method Description MockHttpServletRequestRequestBuilder. buildRequest(ServletContext servletContext)Build the request.MockHttpServletRequestMvcResult. getRequest()Return the performed request.MockHttpServletRequestSmartRequestBuilder. postProcessRequest(MockHttpServletRequest request)Apply request post processing.Methods in org.springframework.test.web.servlet with parameters of type MockHttpServletRequest Modifier and Type Method Description MockHttpServletRequestSmartRequestBuilder. postProcessRequest(MockHttpServletRequest request)Apply request post processing.Uses of MockHttpServletRequest in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request that return MockHttpServletRequest Modifier and Type Method Description MockHttpServletRequestMockHttpServletRequestBuilder. buildRequest(ServletContext servletContext)Build aMockHttpServletRequest.protected MockHttpServletRequestMockHttpServletRequestBuilder. createServletRequest(ServletContext servletContext)Create a newMockHttpServletRequestbased on the suppliedServletContext.protected MockHttpServletRequestMockMultipartHttpServletRequestBuilder. createServletRequest(ServletContext servletContext)Create a newMockMultipartHttpServletRequestbased on the suppliedServletContextand theMockMultipartFilesadded to this builder.MockHttpServletRequestMockHttpServletRequestBuilder. postProcessRequest(MockHttpServletRequest request)MockHttpServletRequestRequestPostProcessor. postProcessRequest(MockHttpServletRequest request)Post-process the givenMockHttpServletRequestafter its creation and initialization through aMockHttpServletRequestBuilder.Methods in org.springframework.test.web.servlet.request with parameters of type MockHttpServletRequest Modifier and Type Method Description MockHttpServletRequestMockHttpServletRequestBuilder. postProcessRequest(MockHttpServletRequest request)MockHttpServletRequestRequestPostProcessor. postProcessRequest(MockHttpServletRequest request)Post-process the givenMockHttpServletRequestafter its creation and initialization through aMockHttpServletRequestBuilder.Uses of MockHttpServletRequest in org.springframework.test.web.servlet.result
Methods in org.springframework.test.web.servlet.result with parameters of type MockHttpServletRequest Modifier and Type Method Description protected MultiValueMap<String,String>PrintingResultHandler. getParamsMultiValueMap(MockHttpServletRequest request)protected HttpHeadersPrintingResultHandler. getRequestHeaders(MockHttpServletRequest request)protected Map<String,Object>PrintingResultHandler. getSessionAttributes(MockHttpServletRequest request)protected voidPrintingResultHandler. printRequest(MockHttpServletRequest request)Print the request.