Package io.getunleash.util
Class IpAddressMatcher
- java.lang.Object
-
- io.getunleash.util.IpAddressMatcher
-
public final class IpAddressMatcher extends Object
Matches a request based on IP Address or subnet mask matching against the remote address.Both IPv6 and IPv4 addresses are supported, but a matcher which is configured with an IPv4 address will never match a request which returns an IPv6 address, and vice-versa.
- Author:
- Luke Taylor
-
-
Constructor Summary
Constructors Constructor Description IpAddressMatcher(String ipAddress)
Takes a specific IP address or a range specified using the IP/Netmask (e.g.
-