
public class IpV4SubnetFilterRule extends IpV4Subnet implements IpFilterRule
| Constructor and Description |
|---|
IpV4SubnetFilterRule(boolean allow)
Constructor for a ALLOW or DENY ALL
|
IpV4SubnetFilterRule(boolean allow,
InetAddress inetAddress,
int cidrNetMask) |
IpV4SubnetFilterRule(boolean allow,
InetAddress inetAddress,
String netMask) |
IpV4SubnetFilterRule(boolean allow,
String netAddress) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowRule() |
boolean |
isDenyRule() |
compareTo, contains, contains, equals, hashCode, toStringpublic IpV4SubnetFilterRule(boolean allow)
allow - True for ALLOW, False for DENYpublic IpV4SubnetFilterRule(boolean allow,
InetAddress inetAddress,
int cidrNetMask)
allow - True for ALLOW, False for DENYpublic IpV4SubnetFilterRule(boolean allow,
InetAddress inetAddress,
String netMask)
allow - True for ALLOW, False for DENYpublic IpV4SubnetFilterRule(boolean allow,
String netAddress)
throws UnknownHostException
allow - True for ALLOW, False for DENYUnknownHostExceptionpublic boolean isAllowRule()
isAllowRule in interface IpFilterRulepublic boolean isDenyRule()
isDenyRule in interface IpFilterRuleCopyright © 2008-2013 The Netty Project. All Rights Reserved.