阅读背景:

我可以在ConstraintValidator中为Method参数更改属性路径吗?

来源:互联网 

If you are familiar with the Bean Validation Framework you know that you cannot get the name of a method argument. So if you do a @NotNull constraint on the first argument of a method and the validation fails the getPropertyPath will be something like "arg1". If you are familiar with the Bean Validation Fr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: