-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.lang.String.class, validatorClass=HostNameConstraintValidator.class) @SelfDocumented @ReadMore(caption="What is hostname format?", link="https://tools.ietf.org/html/rfc1034#section-3.1") public @interface HostName
The annotated element must be a valid hostname.- Author:
- nedis
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows to disable validation rule if validation inherited from super class.
-