layout: default title: EmailValidator Annotation parent: title: Annotations url: annotations.html

EmailValidator Annotation

This validator checks that a field is a valid e-mail address if it contains a non-empty String.

Usage

The annotation must be applied at method level.

Parameters

Examples

 @EmailValidator(message = "Default message", key = "i18n.key", shortCircuit = true)