类 SheildH2ConsoleAutoConfiguration


  • @Configuration
    @EnableConfigurationProperties(org.springframework.boot.autoconfigure.h2.H2ConsoleProperties.class)
    @ConditionalOnWebApplication(type=SERVLET)
    @ConditionalOnClass(org.h2.server.web.WebServlet.class)
    @ConditionalOnProperty(prefix="spring.h2.console",
                           name="enabled",
                           havingValue="true",
                           matchIfMissing=false)
    public class SheildH2ConsoleAutoConfiguration
    extends Object
    作者:
    王老实
    • 构造器详细资料

      • SheildH2ConsoleAutoConfiguration

        public SheildH2ConsoleAutoConfiguration​(org.springframework.boot.autoconfigure.h2.H2ConsoleProperties properties)
    • 方法详细资料

      • Shieldh2Console

        @Primary
        @Bean
        public org.springframework.boot.web.servlet.ServletRegistrationBean<org.h2.server.web.WebServlet> Shieldh2Console()