Class PersistentEntityResourceAssemblerArgumentResolver

java.lang.Object
org.springframework.data.rest.webmvc.config.PersistentEntityResourceAssemblerArgumentResolver
All Implemented Interfaces:
org.springframework.web.method.support.HandlerMethodArgumentResolver

public class PersistentEntityResourceAssemblerArgumentResolver extends Object implements org.springframework.web.method.support.HandlerMethodArgumentResolver
HandlerMethodArgumentResolver to create PersistentEntityResourceAssemblers.
Author:
Oliver Gierke
  • Constructor Details

    • PersistentEntityResourceAssemblerArgumentResolver

      public PersistentEntityResourceAssemblerArgumentResolver(org.springframework.data.mapping.context.PersistentEntities entities, SelfLinkProvider linkProvider, ProjectionDefinitions projectionDefinitions, org.springframework.data.projection.ProjectionFactory projectionFactory, Associations associations)
  • 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