org.springframework.data.web.config

## Annotation Type EnableSpringDataWebSupport

    @Retention(value=RUNTIME)
     @Target(value={TYPE,ANNOTATION_TYPE})
     @Inherited
     @Import(value={EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector.class,EnableSpringDataWebSupport.QuerydslActivator.class})
    public @interface EnableSpringDataWebSupport

Annotation to automatically register the following beans for usage with Spring MVC. Note that using this annotation will require Spring 3.2.

- `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.

If Spring HATEOAS is present on the classpath we will register the following beans:

- `HateoasPageableHandlerMethodArgumentResolver` - instead of `PageableHandlerMethodArgumentResolver`
- `HateoasSortHandlerMethodArgumentResolver` - instead of `SortHandlerMethodArgumentResolver`
- `PagedResourcesAssembler` - for injection into web components
- `SortHandlerMethodArgumentResolver` - for injection of `PagedResourcesAssembler` into controller methods

Since:
  1.6
Author:
  Oliver Gierke
See Also:
  `SpringDataWebConfiguration`, `HateoasAwareSpringDataWebConfiguration`