Class ApplicationWebXml

  • All Implemented Interfaces:
    org.springframework.web.WebApplicationInitializer

    public class ApplicationWebXml
    extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    This is a helper Java class that provides an alternative to creating a web.xml. This will be invoked only when the application is deployed to a servlet container like Tomcat, JBoss etc.
    • Field Summary

      • Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder application)  
      • Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        createRootApplicationContext, createSpringApplicationBuilder, onStartup, run, setRegisterErrorPageFilter
    • Constructor Detail

      • ApplicationWebXml

        public ApplicationWebXml()
    • Method Detail

      • configure

        protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder application)
        Overrides:
        configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer