public interface RequestPostProcessor
MockHttpServletRequest instance after it has been built
by MockHttpServletRequestBuilder or its subclass
MockMultipartHttpServletRequestBuilder.
Implementations of this interface can be provided to
MockHttpServletRequestBuilder.with(RequestPostProcessor) at the time
when a request is about to be constructed.
| Modifier and Type | Method and Description |
|---|---|
MockHttpServletRequest |
postProcessRequest(MockHttpServletRequest request)
Post-process the given
MockHttpServletRequest after its creation
and initialization through a MockHttpServletRequestBuilder. |
MockHttpServletRequest postProcessRequest(MockHttpServletRequest request)
MockHttpServletRequest after its creation
and initialization through a MockHttpServletRequestBuilder.request - the request to initialize