Class QuerydslWebConfiguration

java.lang.Object
org.springframework.data.web.config.QuerydslWebConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration(proxyBeanMethods=false) public class QuerydslWebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Querydsl-specific web configuration for Spring Data. Registers a HandlerMethodArgumentResolver that builds up Predicates from web requests.
Since:
1.11
Author:
Oliver Gierke, Mark Paluch
  • Constructor Details

    • QuerydslWebConfiguration

      public QuerydslWebConfiguration()
  • Method Details

    • querydslPredicateArgumentResolver

      @Lazy @Bean public QuerydslPredicateArgumentResolver querydslPredicateArgumentResolver()
      Default QuerydslPredicateArgumentResolver to create Querydsl Predicate instances for Spring MVC controller methods.
      Returns:
    • querydslBindingsFactory

      @Lazy @Bean public QuerydslBindingsFactory querydslBindingsFactory()
    • addArgumentResolvers

      public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
      Specified by:
      addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer