Package org.joinfaces.autoconfigure
Class JoinfacesAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.JoinfacesAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
@ConditionalOnWebApplication(type=SERVLET)
public class JoinfacesAutoConfiguration
extends Object
Joinfaces Auto Configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.filter.RequestContextFilter
This registers aRequestContextFilter
in caseWebMvcAutoConfiguration
is not loaded.
-
Constructor Details
-
JoinfacesAutoConfiguration
public JoinfacesAutoConfiguration()
-
-
Method Details
-
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()
-