Class RewriteAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @EnableConfigurationProperties({RewriteProperties.class,RewriteFilterProperties.class})
    @ConditionalOnClass(org.ocpsoft.rewrite.servlet.RewriteFilter.class)
    @AutoConfigureAfter(org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
    @ConditionalOnWebApplication(type=SERVLET)
    public class RewriteAutoConfiguration
    extends java.lang.Object
    Spring Boot Auto Configuration of Rewrite.
    • Constructor Detail

      • RewriteAutoConfiguration

        public RewriteAutoConfiguration()
    • Method Detail

      • rewriteWebFragmentRegistrationBean

        @Bean
        @DependsOn("applicationContextProvider")
        public WebFragmentRegistrationBean rewriteWebFragmentRegistrationBean()
        This WebFragmentRegistrationBean is equivalent to the META-INF/web-fragment.xml of the rewrite-servlet.jar.
        Returns:
        rewriteWebFragmentRegistrationBean
      • rewriteFilterRegistrationBean

        @Bean
        @DependsOn("applicationContextProvider")
        @ConditionalOnMissingFilterBean
        public org.springframework.boot.web.servlet.FilterRegistrationBean<org.ocpsoft.rewrite.servlet.RewriteFilter> rewriteFilterRegistrationBean​(RewriteFilterProperties rewriteFilterProperties)
      • rewriteExpressionLanguageProvider

        @Bean
        public org.ocpsoft.rewrite.spring.SpringExpressionLanguageProvider rewriteExpressionLanguageProvider()
      • rewriteBeanNameResolver

        @Bean
        public SpringBootBeanNameResolver rewriteBeanNameResolver​(org.springframework.context.ApplicationContext applicationContext)