@Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) @Inherited @Import(value={EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector.class,EnableSpringDataWebSupport.QuerydslActivator.class}) public @interface EnableSpringDataWebSupport
DomainClassConverter
- to allow usage of domain types managed
by Spring Data repositories as controller method arguments bound with
org.springframework.web.bind.annotation.PathVariable
or
org.springframework.web.bind.annotation.RequestParam
.PageableHandlerMethodArgumentResolver
- to allow injection of
Pageable
instances into controller methods automatically created from request
parameters.SortHandlerMethodArgumentResolver
- to allow injection of
Sort
instances into controller methods automatically created from request
parameters.HateoasPageableHandlerMethodArgumentResolver
- instead of
PageableHandlerMethodArgumentResolver
HateoasSortHandlerMethodArgumentResolver
- instead of
SortHandlerMethodArgumentResolver
PagedResourcesAssembler
- for injection into web componentsSortHandlerMethodArgumentResolver
- for injection of
PagedResourcesAssembler
into controller methodsSpringDataWebConfiguration
,
HateoasAwareSpringDataWebConfiguration
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.