Class PersistentEntityResourceAssemblerArgumentResolver
java.lang.Object
org.springframework.data.rest.webmvc.config.PersistentEntityResourceAssemblerArgumentResolver
- All Implemented Interfaces:
HandlerMethodArgumentResolver
public class PersistentEntityResourceAssemblerArgumentResolver
extends Object
implements HandlerMethodArgumentResolver
- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorDescriptionPersistentEntityResourceAssemblerArgumentResolver
(PersistentEntities entities, SelfLinkProvider linkProvider, ProjectionDefinitions projectionDefinitions, ProjectionFactory projectionFactory, Associations associations) -
Method Summary
Modifier and TypeMethodDescriptionresolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) boolean
supportsParameter
(MethodParameter parameter)
-
Constructor Details
-
PersistentEntityResourceAssemblerArgumentResolver
public PersistentEntityResourceAssemblerArgumentResolver(PersistentEntities entities, SelfLinkProvider linkProvider, ProjectionDefinitions projectionDefinitions, ProjectionFactory projectionFactory, Associations associations)
-
-
Method Details
-
supportsParameter
- Specified by:
supportsParameter
in interfaceHandlerMethodArgumentResolver
-
resolveArgument
public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception - Specified by:
resolveArgument
in interfaceHandlerMethodArgumentResolver
- Throws:
Exception
-