Class SpecificationArgumentResolver
java.lang.Object
net.kaczmarzyk.spring.data.jpa.web.SpecificationArgumentResolver
- All Implemented Interfaces:
org.springframework.web.method.support.HandlerMethodArgumentResolver
public class SpecificationArgumentResolver
extends Object
implements org.springframework.web.method.support.HandlerMethodArgumentResolver
- Author:
- Tomasz Kaczmarzyk, Jakub Radlica
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificationArgumentResolver(Locale defaultLocale) SpecificationArgumentResolver(org.springframework.context.support.AbstractApplicationContext applicationContext) SpecificationArgumentResolver(org.springframework.context.support.AbstractApplicationContext applicationContext, Locale defaultLocale) SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService) SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, Locale defaultLocale) SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, org.springframework.context.support.AbstractApplicationContext abstractApplicationContext) SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, org.springframework.context.support.AbstractApplicationContext abstractApplicationContext, Locale defaultLocale) -
Method Summary
Modifier and TypeMethodDescriptionresolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, org.springframework.web.bind.support.WebDataBinderFactory binderFactory) booleansupportsParameter(org.springframework.core.MethodParameter parameter)
-
Constructor Details
-
SpecificationArgumentResolver
public SpecificationArgumentResolver() -
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService) -
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, Locale defaultLocale) -
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, org.springframework.context.support.AbstractApplicationContext abstractApplicationContext) -
SpecificationArgumentResolver
-
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.context.support.AbstractApplicationContext applicationContext) -
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.context.support.AbstractApplicationContext applicationContext, Locale defaultLocale) -
SpecificationArgumentResolver
public SpecificationArgumentResolver(org.springframework.core.convert.ConversionService conversionService, org.springframework.context.support.AbstractApplicationContext abstractApplicationContext, Locale defaultLocale)
-
-
Method Details
-
supportsParameter
public boolean supportsParameter(org.springframework.core.MethodParameter parameter) - Specified by:
supportsParameterin interfaceorg.springframework.web.method.support.HandlerMethodArgumentResolver
-
resolveArgument
public Object resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, org.springframework.web.bind.support.WebDataBinderFactory binderFactory) throws Exception - Specified by:
resolveArgumentin interfaceorg.springframework.web.method.support.HandlerMethodArgumentResolver- Throws:
Exception
-