类 SpringDataWebAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
@Configuration @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) @AutoConfigureAfter(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.- 从以下版本开始:
- 1.2.0
构造器概要
构造器 构造器 说明 SpringDataWebAutoConfiguration(SpringDataWebProperties properties)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer
pageableCustomizer()
org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer
sortCustomizer()
构造器详细资料
SpringDataWebAutoConfiguration
public SpringDataWebAutoConfiguration(SpringDataWebProperties properties)
方法详细资料
pageableCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer pageableCustomizer()
sortCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer sortCustomizer()