Package org.springframework.validation
Interface DataBinder.NameResolver
- All Known Implementing Classes:
BindParamNameResolver
- Enclosing class:
- DataBinder
public static interface DataBinder.NameResolver
Strategy to determine the name of the value to bind to a method parameter.
Supported on constructor parameters with
constructor binding
which performs lookups via DataBinder.ValueResolver.resolveValue(java.lang.String, java.lang.Class<?>)
.-
Method Summary
Modifier and TypeMethodDescriptionresolveName
(MethodParameter parameter) Return the name to use for the given method parameter, ornull
if unresolved.
-
Method Details
-
resolveName
Return the name to use for the given method parameter, ornull
if unresolved. For constructor parameters, the name is determined viaDefaultParameterNameDiscoverer
if unresolved.
-