Class IpSubnetFilterRule.Ip4SubnetFilterRule

java.lang.Object
io.netty.handler.ipfilter.IpSubnetFilterRule.Ip4SubnetFilterRule
All Implemented Interfaces:
IpFilterRule
Enclosing class:
IpSubnetFilterRule

static final class IpSubnetFilterRule.Ip4SubnetFilterRule extends java.lang.Object implements IpFilterRule
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final IpFilterRuleType
     
    private final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Ip4SubnetFilterRule(java.net.Inet4Address ipAddress, int cidrPrefix, IpFilterRuleType ruleType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(java.net.InetSocketAddress remoteAddress)
     
    private static int
    prefixToSubnetMask(int cidrPrefix)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait