接口 RequestPostProcessor

    • 方法详细资料

      • postProcessRequest

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