public interface IpFilterRule
Modifier and Type | Method and Description |
---|---|
boolean |
matches(InetSocketAddress remoteAddress) |
IpFilterRuleType |
ruleType() |
boolean matches(InetSocketAddress remoteAddress)
IpFilterRuleType ruleType()
IpFilterRuleType.ACCEPT
if all
matches(InetSocketAddress)
for which matches(InetSocketAddress)
returns true should the accepted. If you want to exclude all of those IP addresses then
IpFilterRuleType.REJECT
should be returned.Copyright © 2008–2017 The Netty Project. All rights reserved.