public class PersistentEntityResourceAssemblerArgumentResolver extends Object implements HandlerMethodArgumentResolver
Constructor and Description |
---|
PersistentEntityResourceAssemblerArgumentResolver(@NonNull PersistentEntities entities,
@NonNull SelfLinkProvider linkProvider,
@NonNull ProjectionDefinitions projectionDefinitions,
@NonNull ProjectionFactory projectionFactory,
@NonNull Associations links) |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(MethodParameter parameter) |
public PersistentEntityResourceAssemblerArgumentResolver(@NonNull @NonNull PersistentEntities entities, @NonNull @NonNull SelfLinkProvider linkProvider, @NonNull @NonNull ProjectionDefinitions projectionDefinitions, @NonNull @NonNull ProjectionFactory projectionFactory, @NonNull @NonNull Associations links)
public boolean supportsParameter(MethodParameter parameter)
supportsParameter
in interface HandlerMethodArgumentResolver
public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception
resolveArgument
in interface HandlerMethodArgumentResolver
Exception
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.