Annotation Type ValidHost
-
@Documented @Retention(RUNTIME) @Target({FIELD,PARAMETER}) @Constraint(ValidHostValidator.class) public @interface ValidHost
Indicates that a plugin attribute must be a valid host. This relies on the same validation rules asInetAddress.getByName(String)
.- Since:
- 2.8
-
-
Element Detail
-
message
String message
The message to be logged if this constraint is violated. This should normally be overridden.- Default:
- "The hostname is invalid"
-
-