open class ErrorsMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves Errors method arguments.
An Errors method argument is expected to appear immediately after the model attribute in the method signature. It is resolved by expecting the last two attributes added to the model to be the model attribute and its BindingResult.
Author
Rossen Stoyanchev
Since
3.1
ErrorsMethodArgumentResolver()
Resolves Errors method arguments. An |
open fun resolveArgument(parameter: MethodParameter, mavContainer: ModelAndViewContainer, webRequest: NativeWebRequest, binderFactory: WebDataBinderFactory): Any |
|
open fun supportsParameter(parameter: MethodParameter): Boolean |