Class AcrossWebModuleAutoConfiguration

java.lang.Object
com.foreach.across.autoconfigure.AcrossWebModuleAutoConfiguration

@AutoConfiguration @ConditionalOnWebApplication @ConditionalOnBean(org.springframework.boot.web.server.ErrorPageRegistry.class) @ConditionalOnAutoConfiguration(org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class) @Import(com.foreach.across.autoconfigure.AcrossWebModuleAutoConfiguration.MyBeans.class) public class AcrossWebModuleAutoConfiguration extends Object
Auto-configuration when AcrossWebModule is on the class path. Configures default error pages in case of an embedded servlet container.
Since:
3.0.0
Author:
Arne Vandamme
  • Constructor Details

    • AcrossWebModuleAutoConfiguration

      public AcrossWebModuleAutoConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath dispatcherServletPath)
  • Method Details

    • acrossErrorPageCustomizer

      @Bean public com.foreach.across.autoconfigure.AcrossWebModuleAutoConfiguration.ErrorPageCustomizer acrossErrorPageCustomizer()
      Configure the error pages.