public final class IpAddressMatcher extends Object
Constructor and Description |
---|
IpAddressMatcher(String ipAddress)
Takes a specific IP address or a range specified using the IP/Netmask (e.g.
|
public IpAddressMatcher(String ipAddress)
ipAddress
- the address or range of addresses from which the request must
come.public boolean matches(String addressToCheck)
Copyright © 2015–2020 Red Hat. All rights reserved.