Interface MethodValidationAdapter.BindingResultNameResolver
- Enclosing class:
- MethodValidationAdapter
public static interface MethodValidationAdapter.BindingResultNameResolver
Contract to determine the object name of an
@Valid
method parameter.-
Method Summary
Modifier and TypeMethodDescriptionresolveName
(MethodParameter parameter, Object value) Determine the name for the given method parameter.
-
Method Details
-
resolveName
Determine the name for the given method parameter.- Parameters:
parameter
- the method parametervalue
- the argument or return value- Returns:
- the name to use
-