Class BindingPattern
java.lang.Object
com.yahoo.vespa.model.container.component.BindingPattern
- All Implemented Interfaces:
Comparable<BindingPattern>
- Direct Known Subclasses:
SystemBindingPattern,UserBindingPattern
URI binding pattern used by filter and handler bindings.
- Author:
- bjorncs
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBindingPattern(String binding) protectedBindingPattern(String scheme, String host, String port, String path) -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()booleanhasSamePattern(BindingPattern other) Compares the underlying pattern string for equalityhost()booleanReturns true if pattern will match any port (if present) in uripath()port()scheme()
-
Field Details
-
WILDCARD_PATTERN
- See Also:
-
-
Constructor Details
-
BindingPattern
-
BindingPattern
-
-
Method Details
-
scheme
-
host
-
port
-
path
-
patternString
-
originalPatternString
-
hasSamePattern
Compares the underlying pattern string for equality -
matchesAnyPort
public boolean matchesAnyPort()Returns true if pattern will match any port (if present) in uri -
originalPort
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<BindingPattern>
-