open class ModelMethodProcessor : HandlerMethodArgumentResolver, HandlerMethodReturnValueHandler
Resolves Model arguments and handles Model return values.
A Model return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with @ModelAttribute or @ResponseBody to ensure they don't take over.
Author
Rossen Stoyanchev
Since
3.1
ModelMethodProcessor()
Resolves Model arguments and handles Model return values. A Model return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
open fun handleReturnValue(returnValue: Any, returnType: MethodParameter, mavContainer: ModelAndViewContainer, webRequest: NativeWebRequest): Unit |
|
open fun resolveArgument(parameter: MethodParameter, mavContainer: ModelAndViewContainer, webRequest: NativeWebRequest, binderFactory: WebDataBinderFactory): Any |
|
open fun supportsParameter(parameter: MethodParameter): Boolean |
|
open fun supportsReturnType(returnType: MethodParameter): Boolean |