Annotation Interface ApiUrlValid
@Target(FIELD)
@Retention(RUNTIME)
@Constraint(validatedBy=ApiUrlValidator.class)
@Documented
public @interface ApiUrlValid
Validation to check if the given string value is a valid URL.
The protocol of the url should match one of the determined protocols.
-
Optional Element Summary
Optional Elements