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.

@FunctionalInterface public static interface DataBinder.ValueResolver
Contract to resolve a value in DataBinder.construct(ValueResolver).
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveValue(String name, Class<?> type)
    Look up the value for a constructor argument.
  • Method Details

    • resolveValue

      @Nullable Object resolveValue(String name, Class<?> type)
      Look up the value for a constructor argument.
      Parameters:
      name - the argument name
      type - the argument type
      Returns:
      the resolved value, possibly null