public class ProxyingHandlerMethodArgumentResolver extends ModelAttributeMethodProcessor implements BeanFactoryAware, BeanClassLoaderAware
HandlerMethodArgumentResolver to create Proxy instances for interface based controller method parameters.logger| Constructor and Description |
|---|
ProxyingHandlerMethodArgumentResolver(ObjectFactory<ConversionService> conversionService,
boolean annotationNotRequired)
Creates a new
PageableHandlerMethodArgumentResolver using the given ConversionService. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindRequestParameters(WebDataBinder binder,
NativeWebRequest request) |
protected Object |
createAttribute(String attributeName,
MethodParameter parameter,
WebDataBinderFactory binderFactory,
NativeWebRequest request) |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setBeanFactory(BeanFactory beanFactory) |
boolean |
supportsParameter(MethodParameter parameter) |
constructAttribute, handleReturnValue, isBindExceptionRequired, isBindExceptionRequired, resolveArgument, resolveConstructorArgument, supportsReturnType, validateIfApplicable, validateValueIfApplicablepublic ProxyingHandlerMethodArgumentResolver(ObjectFactory<ConversionService> conversionService, boolean annotationNotRequired)
PageableHandlerMethodArgumentResolver using the given ConversionService.conversionService - must not be null.public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAwarepublic boolean supportsParameter(MethodParameter parameter)
supportsParameter in interface HandlerMethodArgumentResolversupportsParameter in class ModelAttributeMethodProcessorprotected Object createAttribute(String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) throws Exception
createAttribute in class ModelAttributeMethodProcessorExceptionprotected void bindRequestParameters(WebDataBinder binder, NativeWebRequest request)
bindRequestParameters in class ModelAttributeMethodProcessorCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.