Class SpringDataWebAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
@AutoConfiguration(after=RepositoryRestMvcAutoConfiguration.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({org.springframework.data.web.PageableHandlerMethodArgumentResolver.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class})
@ConditionalOnMissingBean(org.springframework.data.web.PageableHandlerMethodArgumentResolver.class)
@EnableConfigurationProperties(SpringDataWebProperties.class)
public class SpringDataWebAutoConfiguration
extends Object
Auto-configuration
for Spring Data's web support.
When in effect, the auto-configuration is the equivalent of enabling Spring Data's web
support through the @EnableSpringDataWebSupport
annotation.
- Since:
- 1.2.0
- Author:
- Andy Wilkinson, Vedran Pavic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer
org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer
-
Constructor Details
-
SpringDataWebAutoConfiguration
-
-
Method Details
-
pageableCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer pageableCustomizer() -
sortCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer sortCustomizer()
-