Class SlicedResourcesAssemblerArgumentResolver

java.lang.Object
org.springframework.data.web.SlicedResourcesAssemblerArgumentResolver
All Implemented Interfaces:
org.springframework.web.method.support.HandlerMethodArgumentResolver

public class SlicedResourcesAssemblerArgumentResolver extends Object implements org.springframework.web.method.support.HandlerMethodArgumentResolver
HandlerMethodArgumentResolver to allow injection of SlicedResourcesAssembler into Spring MVC controller methods.
Since:
3.1
Author:
Michael Schout, Oliver Drotbohm
  • Constructor Details

  • Method Details

    • supportsParameter

      public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
      Specified by:
      supportsParameter in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
    • resolveArgument

      @NonNull public Object resolveArgument(org.springframework.core.MethodParameter parameter, @Nullable org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, @Nullable org.springframework.web.bind.support.WebDataBinderFactory binderFactory)
      Specified by:
      resolveArgument in interface org.springframework.web.method.support.HandlerMethodArgumentResolver