Class IpAddressServerWebExchangeMatcher

  • All Implemented Interfaces:
    ServerWebExchangeMatcher

    public final class IpAddressServerWebExchangeMatcher
    extends java.lang.Object
    implements ServerWebExchangeMatcher
    Matches a request based on IP Address or subnet mask matching against the remote address.
    Since:
    5.7
    • Constructor Detail

      • IpAddressServerWebExchangeMatcher

        public IpAddressServerWebExchangeMatcher​(java.lang.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.