public abstract class BaseUrlValidator<T extends Annotation> extends Object implements javax.validation.ConstraintValidator<T,String>
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowPath |
protected Set<String> |
schemes |
Modifier | Constructor and Description |
---|---|
protected |
BaseUrlValidator(boolean allowPath,
String... schemes) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String value,
javax.validation.ConstraintValidatorContext context) |
protected boolean |
isValid(URI uri) |
protected BaseUrlValidator(boolean allowPath, String... schemes)
public boolean isValid(String value, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<T extends Annotation,String>
protected boolean isValid(URI uri)
Copyright © 2022 Atlassian. All rights reserved.