public class PersistentEntityResourceHandlerMethodArgumentResolver extends Object implements HandlerMethodArgumentResolver
HandlerMethodArgumentResolver
to create PersistentEntityResource
instances.Constructor and Description |
---|
PersistentEntityResourceHandlerMethodArgumentResolver(List<HttpMessageConverter<?>> messageConverters,
RootResourceInformationHandlerMethodArgumentResolver resourceInformationResolver,
BackendIdHandlerMethodArgumentResolver idResolver,
DomainObjectReader reader)
Creates a new
PersistentEntityResourceHandlerMethodArgumentResolver for the given
HttpMessageConverter s and RootResourceInformationHandlerMethodArgumentResolver .. |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(MethodParameter parameter) |
public PersistentEntityResourceHandlerMethodArgumentResolver(List<HttpMessageConverter<?>> messageConverters, RootResourceInformationHandlerMethodArgumentResolver resourceInformationResolver, BackendIdHandlerMethodArgumentResolver idResolver, DomainObjectReader reader)
PersistentEntityResourceHandlerMethodArgumentResolver
for the given
HttpMessageConverter
s and RootResourceInformationHandlerMethodArgumentResolver
..messageConverters
- must not be null.resourceInformationResolver
- must not be null.idResolver
- must not be null.reader
- must not be null.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–2019 Pivotal Software, Inc.. All rights reserved.