Annotation Interface FailedValidationReply

@Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface FailedValidationReply
This annotation is for automatic reply to HTTP requests in case validation did not pass. Apply this annotation to classes that serve as arguments to controller action methods (models or POJOs).

The response will be in the JSON format, since it seems to the linga franka of the Internet.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
  • Element Details

    • value

      int value