How to specify order for Javax Validtors in JAX-RS endpoints?

Viewed 52

In the following JAX-RS endpoint:

public Response myEndpoint(@Context HttpServletRequest httpRequest,
                                         @Valid
                                         @NotNull
                                         @MyBodyPojoIsValid
                                         MyBodyPojo body) {
}

Is it possible to specify that @NotNull will run before my custom validator?

1 Answers
Related