@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface Url
检查要验证的字符串是否是一个有效的Url地址
Modifier and Type | Optional Element and Description |
---|---|
String |
message |
ValidateProfile |
profile |
public abstract String message
public abstract ValidateProfile profile
Copyright © 2016 huihoo. All rights reserved.