| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_URL
maximum length of a url.
|
| Constructor and Description |
|---|
UrlValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Url pconstraintAnnotation)
initialize the validator.
|
boolean |
isValid(String pvalue,
javax.validation.ConstraintValidatorContext pcontext)
check if given string is a valid url.
|
public static final int LENGTH_URL
Copyright © 2015–2016. All rights reserved.