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
Predicate
s from web requests.- Since:
- 1.11
- Author:
- Oliver Gierke, Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgumentResolvers
(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) DefaultQuerydslPredicateArgumentResolver
to create QuerydslPredicate
instances for Spring MVC controller methods.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
QuerydslWebConfiguration
public QuerydslWebConfiguration()
-
-
Method Details
-
querydslPredicateArgumentResolver
DefaultQuerydslPredicateArgumentResolver
to create QuerydslPredicate
instances for Spring MVC controller methods.- Returns:
-
querydslBindingsFactory
-
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) - Specified by:
addArgumentResolvers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-