Class IpSubnetFilterRule.Ip6SubnetFilterRule

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

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

    Fields
    Modifier and Type
    Field
    Description
    private static final java.math.BigInteger
     
    private final java.math.BigInteger
     
    private final IpFilterRuleType
     
    private final java.math.BigInteger
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    private static java.math.BigInteger
    ipToInt(java.net.Inet6Address ipAddress)
     
    boolean
    matches(java.net.InetSocketAddress remoteAddress)
     
    private static java.math.BigInteger
    prefixToSubnetMask(int cidrPrefix)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MINUS_ONE

      private static final java.math.BigInteger MINUS_ONE
    • networkAddress

      private final java.math.BigInteger networkAddress
    • subnetMask

      private final java.math.BigInteger subnetMask
    • ruleType

      private final IpFilterRuleType ruleType
  • Constructor Details

    • Ip6SubnetFilterRule

      private Ip6SubnetFilterRule(java.net.Inet6Address ipAddress, int cidrPrefix, IpFilterRuleType ruleType)
  • Method Details