@Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) @Inherited @Import(value=EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector.class) public @interface EnableSpringDataWebSupport
DomainClassConverter
- to allow usage of domain types managed by Spring Data repositories as controller
method arguments bound with PathVariable
or 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 componentsPagedResourcesAssemblerArgumentResolver
- for injection of PagedResourcesAssembler
into
controller methodsSpringDataWebConfiguration
,
HateoasAwareSpringDataWebConfiguration
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.