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