@Documented @Constraint(validatedBy=HttpURLValidator.class) @Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface HttpURL
This is used because @URL accepts other protocols such as ftp
URLs with query params or user info will validate false
URL
,
URL
Copyright © 2020 Atlassian. All rights reserved.