クラス ProxyingHandlerMethodArgumentResolver
java.lang.ObjectSE
org.springframework.web.method.annotation.ModelAttributeMethodProcessor
org.springframework.data.web.ProxyingHandlerMethodArgumentResolver
- 実装されているすべてのインターフェース:
Aware、BeanClassLoaderAware、BeanFactoryAware、HandlerMethodArgumentResolver、HandlerMethodReturnValueHandler
public class ProxyingHandlerMethodArgumentResolver
extends ModelAttributeMethodProcessor
implements BeanFactoryAware, BeanClassLoaderAware
HandlerMethodArgumentResolver は、インターフェースベースのコントローラーメソッドパラメーターのプロキシインスタンスを作成します。- 導入:
- 1.10
- 作成者:
- Oliver Gierke, Chris Bono
フィールドのサマリー
クラス org.springframework.web.method.annotation.ModelAttributeMethodProcessor から継承されたフィールド
loggerコンストラクターの概要
コンストラクターコンストラクター説明ProxyingHandlerMethodArgumentResolver(ObjectFactory<ConversionService> conversionService, boolean annotationNotRequired) 指定されたConversionServiceを使用して新しいPageableHandlerMethodArgumentResolverを作成します。メソッドのサマリー
修飾子と型メソッド説明protected voidbindRequestParameters(WebDataBinder binder, NativeWebRequest request) protected ObjectSEcreateAttribute(StringSE attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) voidsetBeanClassLoader(ClassLoaderSE classLoader) voidsetBeanFactory(BeanFactory beanFactory) booleansupportsParameter(MethodParameter parameter) クラス org.springframework.web.method.annotation.ModelAttributeMethodProcessor から継承されたメソッド
constructAttribute, handleReturnValue, isBindExceptionRequired, isBindExceptionRequired, resolveArgument, supportsReturnType, validateIfApplicable
コンストラクターの詳細
ProxyingHandlerMethodArgumentResolver
public ProxyingHandlerMethodArgumentResolver(ObjectFactory<ConversionService> conversionService, boolean annotationNotRequired) 指定されたConversionServiceを使用して新しいPageableHandlerMethodArgumentResolverを作成します。- パラメーター:
conversionService- null であってはなりません。
メソッドの詳細
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAwareのsetBeanFactory - 例外:
BeansException
setBeanClassLoader
- 次で指定:
- インターフェース
BeanClassLoaderAwareのsetBeanClassLoader
supportsParameter
- 次で指定:
- インターフェース
HandlerMethodArgumentResolverのsupportsParameter - オーバーライド:
- クラス
ModelAttributeMethodProcessorのsupportsParameter
createAttribute
protected ObjectSE createAttribute(StringSE attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) throws ExceptionSE - オーバーライド:
- クラス
ModelAttributeMethodProcessorのcreateAttribute - 例外:
ExceptionSE
bindRequestParameters
- オーバーライド:
- クラス
ModelAttributeMethodProcessorのbindRequestParameters