Class HttpURLValidator
java.lang.Object
com.atlassian.bitbucket.validation.BaseUrlValidator<HttpURL>
com.atlassian.bitbucket.validation.HttpURLValidator
Validate that the string is a valid http or https URL.
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.validation.BaseUrlValidator
allowPath, schemes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(HttpURL constraintAnnotation) protected boolean
Methods inherited from class com.atlassian.bitbucket.validation.BaseUrlValidator
isValid
-
Constructor Details
-
HttpURLValidator
public HttpURLValidator()
-
-
Method Details
-
initialize
-
isValid
- Overrides:
isValid
in classBaseUrlValidator<HttpURL>
-