org.springframework.boot.web.servlet

Interface ServletContextInitializer

    • Method Detail

      • onStartup

        void onStartup(ServletContext servletContext)
                throws ServletException
        Configure the given ServletContext with any servlets, filters, listeners context-params and attributes necessary for initialization.
        Parameters:
        servletContext - the ServletContext to initialize
        Throws:
        ServletException - if any call against the given ServletContext throws a ServletException