类 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.
- 从以下版本开始:
- 1.2.0
- 作者:
- Andy Wilkinson, Vedran Pavic, Yanming Zhou
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer
org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer
org.springframework.data.web.config.SpringDataWebSettings
-
构造器详细资料
-
SpringDataWebAutoConfiguration
-
-
方法详细资料
-
pageableCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.PageableHandlerMethodArgumentResolverCustomizer pageableCustomizer() -
sortCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SortHandlerMethodArgumentResolverCustomizer sortCustomizer() -
springDataWebSettings
@Bean @ConditionalOnMissingBean public org.springframework.data.web.config.SpringDataWebSettings springDataWebSettings()
-