Class QuerydslWebConfiguration
java.lang.Object
org.springframework.data.web.config.QuerydslWebConfiguration
- All Implemented Interfaces:
WebMvcConfigurer
@Configuration(proxyBeanMethods=false)
public class QuerydslWebConfiguration
extends Object
implements 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<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
- Specified by:
addArgumentResolvers
in interfaceWebMvcConfigurer
-