Package org.eclipse.jetty.util
Class IPAddressMap.IPAddrPattern
- java.lang.Object
-
- org.eclipse.jetty.util.IPAddressMap.IPAddrPattern
-
- Enclosing class:
- IPAddressMap<TYPE>
private static class IPAddressMap.IPAddrPattern extends java.lang.Object
IPAddrPattern Represents internet address wildcard. Matches the wildcard to provided internet address.
-
-
Field Summary
Fields Modifier and Type Field Description private IPAddressMap.OctetPattern[]
_octets
-
Constructor Summary
Constructors Constructor Description IPAddrPattern(java.lang.String value)
Create new IPAddrPattern
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(java.lang.String value)
Match the specified internet address against the wildcard
-
-
-
Field Detail
-
_octets
private final IPAddressMap.OctetPattern[] _octets
-
-
Method Detail
-
match
public boolean match(java.lang.String value) throws java.lang.IllegalArgumentException
Match the specified internet address against the wildcard- Parameters:
value
- internet address- Returns:
- true if specified internet address matches wildcard specification
- Throws:
java.lang.IllegalArgumentException
- if specified internet address is invalid
-
-