java.lang.Object |
↳ |
com.atlassian.bitbucket.validation.BaseUrlValidator<T extends java.lang.annotation.Annotation> |
Known Direct Subclasses
|
Class Overview
Base class to validate the base URL of the HTTP and SSH protocols.
Summary
Public Methods |
boolean
|
isValid(String value, ConstraintValidatorContext context)
|
Protected Methods |
boolean
|
isValid(URI uri)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
javax.validation.ConstraintValidator
void
|
initialize(A arg0)
|
boolean
|
isValid(T arg0, ConstraintValidatorContext arg1)
|
|
Fields
protected
final
boolean
allowPath
protected
final
Set<String>
schemes
Protected Constructors
protected
BaseUrlValidator
(boolean allowPath, String... schemes)
Public Methods
public
boolean
isValid
(String value, ConstraintValidatorContext context)
Protected Methods
protected
boolean
isValid
(URI uri)