org.springframework.test.web.servlet

Interface DispatcherServletCustomizer



  • public interface DispatcherServletCustomizer
    Strategy interface for customizing DispatcherServlet instances that are managed by MockMvc.
    Since:
    4.3.4
    Author:
    Stephane Nicoll
    • Method Detail

      • customize

        void customize(DispatcherServlet dispatcherServlet)
        Customize the supplied DispatcherServlet before it is initialized.
        Parameters:
        dispatcherServlet - the dispatcher servlet to customize