@Documented @Constraint(validatedBy=URL.URLValidator.class) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Pattern(regexp="") public @interface URL
URL
public abstract String target
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
public abstract String host
public abstract String protocol
public abstract String regexp
public abstract Pattern.Flag[] flags
regexp()
in order to specify a regular expression option