Re: JAX-RS and @ValidateOnExecution
Sergey Beryozkin
Hi Thanks for the explanation, though I'm still not sure why removing @NotNull can not achieve the same goal ? The controller method will get the control, check for null/etc ? @NotNull is the 'message' to a the JAX-RS runtime it needs to validate, ValidateOnExecution(NONE) sends the message, no, don't validate, so hence I was curious why get the runtime deal with ValidateOnExecution if removing @NotNull works... Sorry I most likely have got confused.... Cheers, Sergey
On 20/06/17 10:50, Ivar Grimstad wrote:
|
|