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

      public SpecificationArgumentResolver(Locale defaultLocale)
    • 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:
      supportsParameter in interface org.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:
      resolveArgument in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
      Throws:
      Exception