Package org.gbif.api.util
Annotation Interface HttpURI
@Retention(RUNTIME)
@Target({METHOD,FIELD,TYPE_USE})
@Constraint(validatedBy=URIValidator.class)
public @interface HttpURI
Validates that the URI field is absolute, beginning with either http or https.
To use, apply to the URI fields intended for validation.
The field must be:
- A URI object
-
Optional Element Summary
Optional Elements
-
Element Details
-
groups
- Default:
- {}
-
payload
- Default:
- {}
-
message
- Default:
- "Invalid URI"
-