Annotation Interface HttpURL
@Documented
@Constraint(validatedBy=HttpURLValidator.class)
@Target({METHOD,FIELD})
@Retention(RUNTIME)
public @interface HttpURL
Validate that the string is a valid https or https URL.
This is used because @URL accepts other protocols such as ftp
URLs with query params or user info will validate false
- See Also:
-
URL
URL
-
Optional Element Summary