Annotation Interface Email


The string has to be a well-formed email address. Exact semantics of what makes up a valid email address are left to Bean Validation providers. Accepts CharSequence.
Since:
2.0
  • Element Details

    • message

      String message
      Default:
      "{javax.validation.constraints.Email.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends Payload>[] payload
      Default:
      {}
    • regexp

      String regexp
      Returns:
      an additional regular expression the annotated element must match. The default is any string ('.*')
      Default:
      ".*"
    • flags

      Pattern.Flag[] flags
      Returns:
      used in combination with regexp() in order to specify a regular expression option
      Default:
      {}