Uses of Interface
org.springframework.test.web.servlet.request.RequestPostProcessor
Packages that use RequestPostProcessor Package Description org.springframework.test.web.servlet.request Contains built-inRequestBuilder
implementations.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.Uses of RequestPostProcessor in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request with parameters of type RequestPostProcessor Modifier and Type Method Description B
ConfigurableSmartRequestBuilder. with(RequestPostProcessor requestPostProcessor)
Add the givenRequestPostProcessor
.MockHttpServletRequestBuilder
MockHttpServletRequestBuilder. with(RequestPostProcessor postProcessor)
An extension point for further initialization ofMockHttpServletRequest
in ways not built directly into theMockHttpServletRequestBuilder
.Uses of RequestPostProcessor in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup that return RequestPostProcessor Modifier and Type Method Description default RequestPostProcessor
MockMvcConfigurer. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)
Invoked when the MockMvc instance is about to be created with the MockMvc builder and the Spring WebApplicationContext that will be passed to theDispatcherServlet
.RequestPostProcessor
MockMvcConfigurerAdapter. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt)
RequestPostProcessor
SharedHttpSessionConfigurer. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)