public class IpFilterRuleHandler extends AbstractRemoteAddressFilter<InetSocketAddress>
| 构造器和说明 |
|---|
IpFilterRuleHandler(List<IpRange> ips,
IpFilterRuleType ipFilterRuleType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
accept(SocketChannel socketChannel,
InetSocketAddress remoteAddress) |
channelAddedchannelClosed, channelRead, channelWrite, decode, encode, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelClosed, channelRead, decode, exceptionCaughtchannelWrite, encode, userEventTriggeredpublic IpFilterRuleHandler(List<IpRange> ips, IpFilterRuleType ipFilterRuleType)
protected boolean accept(SocketChannel socketChannel, InetSocketAddress remoteAddress)
accept 在类中 AbstractRemoteAddressFilter<InetSocketAddress>socketChannel - 通道remoteAddress - 远程地址Copyright © 2021. All rights reserved.