Annotation Interface RequiredUri


@Documented @NotNull @Constraint(validatedBy=RequiredUriValidator.class) @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface RequiredUri
Validates that a URI is present and that it's ASCII representation does not exceed size() characters in length
Since:
4.7
See Also:
  • Element Details

    • groups

      Class<?>[] groups
      Default:
      {}
    • message

      String message
      Default:
      "{com.atlassian.bitbucket.validation.httpuri.message}"
    • payload

      Class<? extends javax.validation.Payload>[] payload
      Default:
      {}
    • size

      int size
      Default:
      2147483647