Klasse RewriteAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.rewrite.RewriteAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
@EnableConfigurationProperties({RewriteProperties.class,RewriteFilterProperties.class})
@ConditionalOnClass(org.ocpsoft.rewrite.servlet.RewriteFilter.class)
@ConditionalOnWebApplication(type=SERVLET)
public class RewriteAutoConfiguration
extends Object
Spring Boot Auto Configuration of Rewrite.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThisSpringBootAnnotationConfigProvider
adds aHttpConfigurationProvider
which scans for Rewrite annotations within the classpath.rewriteBeanNameResolver
(ApplicationContext applicationContext) org.ocpsoft.rewrite.spring.SpringExpressionLanguageProvider
FilterRegistrationBean
<org.ocpsoft.rewrite.servlet.RewriteFilter> rewriteFilterRegistrationBean
(RewriteFilterProperties rewriteFilterProperties) ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of therewrite-servlet.jar
.
-
Konstruktordetails
-
RewriteAutoConfiguration
public RewriteAutoConfiguration()
-
-
Methodendetails
-
rewriteWebFragmentRegistrationBean
@Bean @DependsOn("applicationContextProvider") public WebFragmentRegistrationBean rewriteWebFragmentRegistrationBean()ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of therewrite-servlet.jar
.- Gibt zurück:
- rewriteWebFragmentRegistrationBean
-
rewriteFilterRegistrationBean
@Bean @DependsOn("applicationContextProvider") @ConditionalOnMissingFilterBean public FilterRegistrationBean<org.ocpsoft.rewrite.servlet.RewriteFilter> rewriteFilterRegistrationBean(RewriteFilterProperties rewriteFilterProperties) -
applicationContextProvider
-
rewriteExpressionLanguageProvider
@Bean public org.ocpsoft.rewrite.spring.SpringExpressionLanguageProvider rewriteExpressionLanguageProvider() -
rewriteBeanNameResolver
@Bean public SpringBootBeanNameResolver rewriteBeanNameResolver(ApplicationContext applicationContext) -
rewriteAnnotationConfigProvider
@Bean @ConfigurationProperties("joinfaces.rewrite.annotation-config-provider") public SpringBootAnnotationConfigProvider rewriteAnnotationConfigProvider()ThisSpringBootAnnotationConfigProvider
adds aHttpConfigurationProvider
which scans for Rewrite annotations within the classpath.- Gibt zurück:
- rewrite annotation scanner
-