public class PersistentEntityResourceHandlerMethodArgumentResolver extends Object implements HandlerMethodArgumentResolver
HandlerMethodArgumentResolver
to create PersistentEntityResource
instances.Constructor and Description |
---|
PersistentEntityResourceHandlerMethodArgumentResolver(@NonNull List<HttpMessageConverter<?>> messageConverters,
@NonNull RootResourceInformationHandlerMethodArgumentResolver resourceInformationResolver,
@NonNull BackendIdHandlerMethodArgumentResolver idResolver,
@NonNull DomainObjectReader reader,
@NonNull org.springframework.plugin.core.PluginRegistry<EntityLookup<?>,Class<?>> lookups) |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(MethodParameter parameter) |
public PersistentEntityResourceHandlerMethodArgumentResolver(@NonNull @NonNull List<HttpMessageConverter<?>> messageConverters, @NonNull @NonNull RootResourceInformationHandlerMethodArgumentResolver resourceInformationResolver, @NonNull @NonNull BackendIdHandlerMethodArgumentResolver idResolver, @NonNull @NonNull DomainObjectReader reader, @NonNull @NonNull org.springframework.plugin.core.PluginRegistry<EntityLookup<?>,Class<?>> lookups)
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.