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
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends javax.validation.Payload>[]