Package org.springframework.validation
Interface DataBinder.ValueResolver
- All Known Implementing Classes:
ServletRequestDataBinder.ServletRequestValueResolver
- Enclosing class:
- DataBinder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract to resolve a value in
DataBinder.construct(ValueResolver)
.-
Method Summary
Modifier and TypeMethodDescriptionresolveValue
(String name, Class<?> type) Look up the value for a constructor argument.
-
Method Details
-
resolveValue
Look up the value for a constructor argument.- Parameters:
name
- the argument nametype
- the argument type- Returns:
- the resolved value, possibly
null
-