Class IpAddressMatcher
- java.lang.Object
-
- io.fabric8.kubernetes.client.utils.IpAddressMatcher
-
public final class IpAddressMatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description IpAddressMatcher(String ipAddress)
Takes a specific IP address or a range specified using the IP/Netmask (e.g.
-
-
-
Constructor Detail
-
IpAddressMatcher
public IpAddressMatcher(String ipAddress)
Takes a specific IP address or a range specified using the IP/Netmask (e.g. 192.168.1.0/24 or 202.24.0.0/14).- Parameters:
ipAddress
- the address or range of addresses from which the request must come.
-
-
Method Detail
-
matches
public boolean matches(String addressToCheck)
-
-