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 Type
    Method
    Description
    resolveName(MethodParameter parameter, Object value)
    Determine the name for the given method parameter.
  • Method Details

    • resolveName

      String resolveName(MethodParameter parameter, @Nullable Object value)
      Determine the name for the given method parameter.
      Parameters:
      parameter - the method parameter
      value - the argument or return value
      Returns:
      the name to use