Uses of Interface
org.springframework.test.web.servlet.request.RequestPostProcessor
Packages that use RequestPostProcessor
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Contains built-in
RequestBuilder
implementations.Contains built-in
MockMvcBuilder
implementations.-
Uses of RequestPostProcessor in org.springframework.test.web.servlet.client
Method parameters in org.springframework.test.web.servlet.client with type arguments of type RequestPostProcessorModifier and TypeMethodDescriptionMockMvcHttpConnector.with
(List<RequestPostProcessor> postProcessors) Create a new instance that applies the givenRequestPostProcessor
s to performed requests. -
Uses of RequestPostProcessor in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request with parameters of type RequestPostProcessorModifier and TypeMethodDescriptionAbstractMockHttpServletRequestBuilder.with
(RequestPostProcessor postProcessor) An extension point for further initialization ofMockHttpServletRequest
in ways not built directly into theMockHttpServletRequestBuilder
.ConfigurableSmartRequestBuilder.with
(RequestPostProcessor requestPostProcessor) Add the givenRequestPostProcessor
.MockHttpServletRequestBuilder.with
(RequestPostProcessor postProcessor) -
Uses of RequestPostProcessor in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup that return RequestPostProcessorModifier and TypeMethodDescriptiondefault 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
.MockMvcConfigurerAdapter.beforeMockMvcCreated
(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt) SharedHttpSessionConfigurer.beforeMockMvcCreated
(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)