@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={org.springframework.data.web.PageableHandlerMethodArgumentResolver.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class}) @ConditionalOnMissingBean(value=org.springframework.data.web.PageableHandlerMethodArgumentResolver.class) @EnableConfigurationProperties(value=SpringDataWebProperties.class) @AutoConfigureAfter(value=RepositoryRestMvcAutoConfiguration.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.
Constructor and Description |
---|
SpringDataWebAutoConfiguration(SpringDataWebProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer |
pageableCustomizer() |
org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer |
sortCustomizer() |
public SpringDataWebAutoConfiguration(SpringDataWebProperties properties)
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer pageableCustomizer()
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer sortCustomizer()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.