@ChannelHandler.Sharable public class UniqueIpFilter extends AbstractRemoteAddressFilter<InetSocketAddress>
Channel connected to the server.ChannelHandler.Sharable| Constructor and Description | 
|---|
| UniqueIpFilter() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | accept(ChannelHandlerContext ctx,
      InetSocketAddress remoteAddress)This method is called immediately after a  Channelgets registered. | 
channelAccepted, channelActive, channelRegistered, channelRejectedchannelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedprotected boolean accept(ChannelHandlerContext ctx, InetSocketAddress remoteAddress) throws Exception
AbstractRemoteAddressFilterChannel gets registered.accept in class AbstractRemoteAddressFilter<InetSocketAddress>ExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.