Package org.joinfaces.autoconfigure
Class JoinfacesAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.JoinfacesAutoConfiguration
-
@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @AutoConfigureAfter(org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class) public class JoinfacesAutoConfiguration extends java.lang.Object
Joinfaces Auto Configuration.
-
-
Constructor Summary
Constructors Constructor Description JoinfacesAutoConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.web.filter.RequestContextFilter
requestContextFilter()
This registers aRequestContextFilter
in caseWebMvcAutoConfiguration
is not loaded.
-
-
-
Method Detail
-
requestContextFilter
@Bean @ConditionalOnMissingBean({org.springframework.web.context.request.RequestContextListener.class,org.springframework.web.filter.RequestContextFilter.class}) @ConditionalOnMissingFilterBean(org.springframework.web.filter.RequestContextFilter.class) public static org.springframework.web.filter.RequestContextFilter requestContextFilter()
This registers aRequestContextFilter
in caseWebMvcAutoConfiguration
is not loaded.- Returns:
- The
RequestContextFilter
Bean. - See Also:
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.requestContextFilter()
-
-