org.springframework.test.web.servlet.request

Interface RequestPostProcessor

    • Method Detail

      • postProcessRequest

        MockHttpServletRequest postProcessRequest(MockHttpServletRequest request)
        Post-process the given MockHttpServletRequest after its creation and initialization through a MockHttpServletRequestBuilder.
        Parameters:
        request - the request to initialize
        Returns:
        the request to use, either the one passed in or a wrapped one