Class AbstractReactiveWebInitializer

  • java.lang.Object
    • org.springframework.web.server.adapter.AbstractReactiveWebInitializer
    • Constructor Detail

      • AbstractReactiveWebInitializer

        public AbstractReactiveWebInitializer()
    • Method Detail

      • refreshApplicationContext

        protected void refreshApplicationContext(ApplicationContext context)
        Refresh the given application context, if necessary.
      • registerCloseListener

        protected void registerCloseListener(ServletContext servletContext,
                                             ApplicationContext applicationContext)
        Register a ServletContextListener that closes the given application context when the servlet context is destroyed.
        servletContext - the servlet context to listen to
        applicationContext - the application context that is to be closed when servletContext is destroyed
      • getServletMapping

        protected java.lang.String getServletMapping()
        Return the Servlet mapping to use. Only the default Servlet mapping '/' and path-based Servlet mappings such as '/api/*' are supported.

        By default this is set to '/'.