
public class IpSubnetFilterRule extends IpSubnet implements IpFilterRule
| Constructor and Description |
|---|
IpSubnetFilterRule(boolean allow)
Constructor for a ALLOW or DENY ALL
|
IpSubnetFilterRule(boolean allow,
InetAddress inetAddress,
int cidrNetMask) |
IpSubnetFilterRule(boolean allow,
InetAddress inetAddress,
String netMask) |
IpSubnetFilterRule(boolean allow,
String netAddress) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowRule() |
boolean |
isDenyRule() |
compareTo, contains, contains, equals, hashCode, toStringpublic IpSubnetFilterRule(boolean allow)
allow - True for ALLOW, False for DENYpublic IpSubnetFilterRule(boolean allow,
InetAddress inetAddress,
int cidrNetMask)
throws UnknownHostException
allow - True for ALLOW, False for DENYUnknownHostExceptionpublic IpSubnetFilterRule(boolean allow,
InetAddress inetAddress,
String netMask)
throws UnknownHostException
allow - True for ALLOW, False for DENYUnknownHostExceptionpublic IpSubnetFilterRule(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.